eslint-config-plutotv-client
v1.2.0
Published
This package provides PlutoTV's .eslintrc as an extensible shared config for client javascript applications.
Downloads
7
Maintainers
Readme
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
(
export PKG=eslint-config-plutotv-client;
npm info "$PKG@latest" peerDependencies --json | command sed 's/[\{\},]//g ; s/: /@/g' | xargs npm install --save-dev "$PKG@latest"
)
- 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.