Add dev dependencies and cleanup ESLint file (#588)

This commit is contained in:
Schuyler Cebulskie 2016-09-03 14:32:04 -04:00 committed by Amish Shah
parent a172fffd76
commit 2682c07bd8
3 changed files with 26 additions and 21 deletions

View file

@ -1,20 +0,0 @@
module.exports = {
"extends": "airbnb",
"plugins": [
"react",
"jsx-a11y",
"import"
],
"rules" : {
"max-len": [2, 120, 2],
"no-underscore-dangle": 0,
"global-require": 0,
"guard-for-in": 0,
"no-restricted-syntax": 0,
"no-param-reassign": 0,
"consistent-return": 0,
"import/no-extraneous-dependencies": 0,
"no-continue": 0,
"no-confusing-arrow" : 0
}
};

20
.eslintrc.json Normal file
View file

@ -0,0 +1,20 @@
{
"extends": "airbnb",
"plugins": [
"import",
"react",
"jsx-a11y"
],
"rules": {
"max-len": [2, 120, 2],
"no-underscore-dangle": 0,
"global-require": 0,
"guard-for-in": 0,
"no-restricted-syntax": 0,
"no-param-reassign": 0,
"consistent-return": 0,
"import/no-extraneous-dependencies": 0,
"no-continue": 0,
"no-confusing-arrow" : 0
}
}

View file

@ -33,7 +33,12 @@
},
"devDependencies": {
"fs-extra": "^0.30.0",
"jsdoc-parse": "^1.2.7"
"jsdoc-parse": "^1.2.0",
"eslint": "^3.4.0",
"eslint-config-airbnb": "^10.0.0",
"eslint-plugin-import": "^1.14.0",
"eslint-plugin-react": "^6.2.0",
"eslint-plugin-jsx-a11y": "^2.2.0"
},
"optionalDependencies": {
"node-opus": "^0.1.13"