ls-lint is a linter for LiveScript.
ls-lint [options]... [file]...
Option | Description |
---|---|
-h, --help | output usage information |
-v, --version | output the version number |
-c, --config | use specified configuration file |
- specified configuration with
--config
ls-lint.lson
in the current directory- default configuration
require! 'ls-lint'
ls-lint.lint '(x, y) -> x + y'
Returns a list of errors, warnings.
-
config
Overwrites default configuration.
config: max-file-lines: level: \warning value: 200 eol-last: \ignore