eslint-config-sa
v1.1.4
Published
eslint config based on airbnb styleguide with personal preferences, supports es6 and react.
Downloads
9
Maintainers
Readme
eslint-config-sa
ES6 + REACT RULES
My personal eslint config based on airbnb styleguide with some little changes
to fit my preferences, including ES6
and React
rules.
HOW TO USE
npm install --save-dev eslint // Don't use global eslint
npm install --save-dev babel-eslint
npm install --save-dev eslint-plugin-react
npm install --save-dev eslint-config-sa
Add to your .eslintrc
{
"extends": "eslint-config-sa"
}
LIVE LINTING
Sublime Text
Install SublimeLinter and SublimeLinter-contrib-eslint via the Package Control.
PS: I recommend using babel-sublime to better syntax highlight.
Atom
Install linter and linter-eslint.
apm install linter linter-eslint language-babel
PS: I recommend using language-babel to better syntax highlighting.