ls-lint
v0.1.2
Published
Lint your LiveScript code
Downloads
1,993
Readme
ls-lint
ls-lint is a linter for LiveScript.
Usage
CLI
ls-lint [options]... [file]...
options
Option | Description --- | --- -h, --help | output usage information -v, --version | output the version number -c, --config | use specified configuration file
Priority order of configuration
- specified configuration with
--config
ls-lint.lson
in the current directory- default configuration
API
require! 'ls-lint'
ls-lint.lint '(x, y) -> x + y'
ls-lint.lint source, [options]
Returns a list of errors, warnings.
options
config
Overwrites default configuration.
config: max-file-lines: level: \warning value: 200 eol-last: \ignore