linter-imp

Electric Imp-compatible Squirrel Linter

myurasov

236

1

0.2.3

MIT

GitHub

This package provides the following services:

linter-imp

Linter for Electric Imp variety of Squirrel.

Utilizes standard Squirrel compiler binary – sq.

OS X TL;RD

brew install squirrel
apm install linter-imp

Plugin installation

Install from the Settings pane of Atom by searching for and installing the linter-imp package.

Or install from terminal with:

apm install linter-imp

Squirrel installation

In order for plugin to work, sq executable should be available.

OS X

brew install squirrel

Linux, Windows

http://sourceforge.net/projects/squirrel/

Atom package

Electric Imp-specific features

In order to be able to run the Electric Imp code, shims are automatically added to the source:

Configuration options

lint-imp.execPath

[default: "sq"]

Electric Imp uses non-standard Squirrel compiler, so to replicate EI environment this config option can be set to use the specific compiler binary.

lint-imp.verbose

[default: true]

If this option is set to true, compiler output and other debug infoirmation will be displayed in developer tools console. Press Ctrl+Cmd+J (OSX) to show the console.

lint-imp.run

[default: true]

If this option is set to true, EI shims will be incliuded and file will be executed, rather than just compiled. The output will appear in devtools console.

How is this different from lint-squirrel

License

MIT

Author

Mikhail Yurasov mikhail@electricimp.com