1.2.0 • Published 9 years ago
eslint-config-plutotv-client v1.2.0
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" peerDependenciesLinux/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
linterandlinter-eslint - Change
linter-eslintpackage 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 prefixgives you.
Sublime Text
- Install packages
SublimeLinterandSublimeLinter-contrib-eslint
VIM
TODO.