OBS! This package is no longer maintained. Im using XO full time now
You can install this plugin via the Packages manager in Atom itself or manually through the terminal
$ apm install jslint
JSlint is by default validating on save (this can be changed in the package settings), you can also execute it by hitting ctrl-alt-l
.
If you like you can even set it to validate while typing in the package settings.
JSlint options can be configured via .jslintrc
config files, located in
- your home directory (global options) and
- your project root directory (project specific options).
The .jslintrc
config files are JSON files see .jslintrc-example
for an example.
Specifications of the different options can be found in the JSlint documentation.
- Validate on keymap
- Validate on command
- Validate on save (toggle in settings)
- Validate on change (toggle in settings)
- Option to hide the error panel if no errors were found (toggle in settings)
- Option to use
fold mode
by default (toggle in settings) - Choose between different JSLint versions (select in settings)
- Supports
.jslintrc
config files (project located file will overwrite the global file) - ES6 support (you need to select es6 in the JSLint version dropdown and reload Atom)
MIT © tcarlsen