Skip to content

Commit

Permalink
chore(package): update eslint-plugin-react and add babel-eslint (#357)
Browse files Browse the repository at this point in the history
* chore(package): update eslint-plugin-react to 7.9.1 which solves the issue jsx-eslint/eslint-plugin-react#1785

* chore(package): Add babel-eslint as parser for eslint

* lock dependencies
  • Loading branch information
ad1992 committed Jun 23, 2018
1 parent 820a782 commit 91e930f
Show file tree
Hide file tree
Showing 3 changed files with 249 additions and 6 deletions.
3 changes: 2 additions & 1 deletion .eslintrc.js
Expand Up @@ -12,13 +12,14 @@ module.exports = {
},
extends: ["eslint:recommended", "plugin:react/recommended"],
parserOptions: {
ecmaVersion: "6",
ecmaFeatures: {
experimentalObjectRestSpread: true,
jsx: true
},
sourceType: "module"
},
plugins: ["react", "jsx-a11y"],
"parser": "babel-eslint",
rules: {
"indent": [2, 2],
"linebreak-style": [2, "unix"],
Expand Down
247 changes: 244 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions package.json
Expand Up @@ -43,6 +43,7 @@
"devDependencies": {
"babel-cli": "6.26.0",
"babel-core": "6.26.0",
"babel-eslint": "8.1.0",
"babel-jest": "23.0.0-alpha.0",
"babel-loader": "^7.1.4",
"babel-preset-env": "1.6.1",
Expand All @@ -55,8 +56,8 @@
"eslint": "5.0.0",
"eslint-plugin-jest": "21.15.1",
"eslint-plugin-jsx-a11y": "6.0.3",
"eslint-plugin-react": "7.8.0",
"greenkeeper-lockfile": "^1.15.1",
"eslint-plugin-react": "7.9.1",
"greenkeeper-lockfile": "1.15.1",
"jest": "22.1.4",
"jsdom": "11.6.2",
"npm-run-all": "4.1.3",
Expand Down

0 comments on commit 91e930f

Please sign in to comment.