This linter plugin for SublimeLinter provides an interface to coffeelint. It will be used with files that have the "CoffeeScript" and "CoffeeScript (Literate)" syntax.
SublimeLinter must be installed in order to use this plugin.
Please use Package Control to install the linter plugin.
Before installing this plugin, ensure that coffeelint is installed on your system.
To install coffeelint, do the following:
-
Install
coffeelintby typing the following in a terminal:npm install -g coffeelint -
If you are using
nvmandzsh, ensure that the line to loadnvmis in.zshenvand not.zshrc.
Please make sure that the path to coffeelint is available to SublimeLinter.
The docs cover troubleshooting PATH configuration.
- SublimeLinter settings: http://sublimelinter.com/en/latest/settings.html
- Linter settings: http://sublimelinter.com/en/latest/linter_settings.html
You may configure coffeelint’s behavior using coffeelint.json configuration files, exactly as is described in the coffeelint documentation.