We use eshint to lint JS and have adopted the ESLint recommended defaults (with some additions)
The easiest way is to use the tool in the root of this repository:
./install.sh
- Open rpeferences
- Go to
Languages & Frameworks › JavaScript › Code Quality Tools › ESLint
- Enable
Automatic ESLint configuration
- Click OK
- Ensure Package Control is installed
- Ensure
SublimeLinter
package is installed - Install
SublimeLinter-contrib-eslint
package
- On the CLI type
apm install linter-eslint