diff --git a/.eslintrc b/.eslintrc index 30bf6d6..bfa9939 100644 --- a/.eslintrc +++ b/.eslintrc @@ -1,10 +1,23 @@ { - "extends": "eslint-config-airbnb", + "extends": "airbnb-base", "rules": { "comma-dangle": 0, "func-names": 0, "no-alert": 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 } } \ No newline at end of file diff --git a/package.json b/package.json index 4bfcf44..60155d7 100644 --- a/package.json +++ b/package.json @@ -30,10 +30,12 @@ "css-loader": "^0.16.0", "esdoc": "^0.2.1", "esdoc-es7-plugin": "0.0.1", - "eslint": "^1.1.0", - "eslint-config-airbnb": "0.0.7", + "eslint": "^3.4.0", + "eslint-config-airbnb-base": "^5.0.3", "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", "html-loader": "^0.3.0", "node-sass": "^3.2.0",