eslint-config-poetic
v1.1.0
Published
Poetic's ESlint config based on Airbnb's
Downloads
41
Readme
eslint-config-poetic
This linter package is based on AirBnB's configuration.
Installation
npm install --save-dev eslint-config-poetic
- add .eslintrc with the following content:
{
"extends": "poetic"
}
Usage
To run eslint
from the command line, try this from your app root directory:
eslint --ext .js,.jsx .
Vim Integration
Install the Syntastic plugin, then add the following to your .vimrc:
let g:syntastic_javascript_checkers=['eslint']
let g:syntastic_javascript_eslint_args="--ext .js,.jsx"
Be sure to remove any other lines that set syntastic_javascript_checkers
,
if they exist.