@ris/eslint-config
v1.0.0
Published
ris eslint config.
Downloads
4
Readme
@ris/esling-config
ESlint rules for RIS with [ 'ES5', 'ES6', 'React' ] support. Based on Airbnb JavaScript Style Guide.
Usage
npm install --save-dev @ris/eslint-config
If you use some experimental features with Babel, you may also install babel-eslint.
npm install --save-dev babel-eslint
ES5
{
"extends": "@ris/eslint-config",
"env": {
"browser": true
}
}
ES6
{
"extends": "@ris/eslint-config/es6",
"env": {
"browser": true
}
}
React
{
"extends": "@ris/eslint-config/react",
"env": {
"browser": true
}
}