eslint-config-plutotv-client
This package provides PlutoTV's .eslintrc as an extensible shared config for client javascript applications.
Usage
Our default export contains all Airbnb's rules (ES6) plus our changes.
- Install the correct versions of each package, which are listed by the command:
npm info "eslint-config-plutotv-client@latest" peerDependencies
Linux/OSX users can simply run
- Add
"extends": "plutotv-client"
to your .eslintrc
Editors
Configuring eslint on your editor should be easy.
Atom
- Install packages
linter
andlinter-eslint
- Change
linter-eslint
package settings to use your global eslint. Under settings mark as true "Use Global Eslint" and change your "Global Node Path" with the value$ npm config get prefix
gives you.
Sublime Text
- Install packages
SublimeLinter
andSublimeLinter-contrib-eslint
VIM
TODO.