Skip to content

Commit

Permalink
Upgrade eslint-* packages
Browse files Browse the repository at this point in the history
  • Loading branch information
Mistereo committed Oct 5, 2017
1 parent 60d2019 commit cce4968
Show file tree
Hide file tree
Showing 3 changed files with 277 additions and 293 deletions.
12 changes: 3 additions & 9 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,26 +3,20 @@
"browser": true,
"jasmine": true
},
"extends": "airbnb",
"extends": "airbnb-base",
"globals": {
"document": true
},
"parserOptions": {
"ecmaFeatures": {
"experimentalObjectRestSpread": true,
"jsx": true
"experimentalObjectRestSpread": true
},
"sourceType": "module"
},
"plugins": [
"react",
"jsx-a11y",
"import",
"babel"
"import"
],
"rules": {
"react/jsx-indent-props": ["error", 4],
"react/jsx-indent": ["error", 4],
"indent": ["error", 4, { "SwitchCase": 1 }],
"comma-dangle": ["error", "only-multiline"],
"no-underscore-dangle": 0,
Expand Down
10 changes: 4 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"test": "karma start karma.conf.js --log-level debug",
"coveralls": "cat ./coverage/lcov.info | coveralls",
"test:dev": "karma start karma.conf.js --log-level debug --browsers Chrome --no-single-run",
"lint": "eslint . --ext .js -f node_modules/eslint-detailed-reporter/lib/detailed.js -o ./eslint/report.html"
"lint": "eslint --ext .js -f node_modules/eslint-detailed-reporter/lib/detailed.js -o ./eslint/report.html './src' './test'"
},
"devDependencies": {
"babel-cli": "^6.24.1",
Expand All @@ -38,12 +38,10 @@
"babel-preset-es2015": "^6.24.1",
"babel-preset-stage-0": "^6.24.1",
"coveralls": "^2.13.1",
"eslint": "^3.3.1",
"eslint-config-airbnb": "^10.0.1",
"eslint": "^4.8.0",
"eslint-config-airbnb-base": "^12.0.2",
"eslint-detailed-reporter": "^0.7.2",
"eslint-plugin-babel": "^3.3.0",
"eslint-plugin-import": "^1.14.0",
"eslint-plugin-react": "^6.1.2",
"eslint-plugin-import": "^2.7.0",
"istanbul": "^0.4.5",
"istanbul-instrumenter-loader": "^3.0.0",
"jasmine": "^2.6.0",
Expand Down
Loading

0 comments on commit cce4968

Please sign in to comment.