update eslint rules

This commit is contained in:
Jeff Nusz 2016-09-01 14:04:22 -07:00
parent 4fb2646502
commit 195ae9dcea
2 changed files with 20 additions and 5 deletions

View File

@ -1,10 +1,23 @@
{ {
"extends": "eslint-config-airbnb", "extends": "airbnb-base",
"rules": { "rules": {
"comma-dangle": 0, "comma-dangle": 0,
"func-names": 0, "func-names": 0,
"no-alert": 1, "no-alert": 1,
"no-console": 1, "no-console": 1,
"no-use-before-define": 1 "no-use-before-define": 0,
"prefer-rest-params": 0,
"prefer-template": 0,
"no-mixed-operators": 0,
"no-undef": 0,
"no-underscore-dangle": 0,
"prefer-arrow-callback": 0,
"space-before-function-paren": 0,
"global-require": 0,
"object-shorthand": 0,
"max-len": 0,
"no-param-reassign": 0,
"consistent-return": 0,
"no-restricted-syntax": 1
} }
} }

View File

@ -30,10 +30,12 @@
"css-loader": "^0.16.0", "css-loader": "^0.16.0",
"esdoc": "^0.2.1", "esdoc": "^0.2.1",
"esdoc-es7-plugin": "0.0.1", "esdoc-es7-plugin": "0.0.1",
"eslint": "^1.1.0", "eslint": "^3.4.0",
"eslint-config-airbnb": "0.0.7", "eslint-config-airbnb-base": "^5.0.3",
"eslint-loader": "^1.0.0", "eslint-loader": "^1.0.0",
"eslint-plugin-react": "^3.2.2", "eslint-plugin-import": "^1.14.0",
"eslint-plugin-jsx-a11y": "^2.2.1",
"eslint-plugin-react": "^6.2.0",
"extend": "^3.0.0", "extend": "^3.0.0",
"html-loader": "^0.3.0", "html-loader": "^0.3.0",
"node-sass": "^3.2.0", "node-sass": "^3.2.0",