Skip to content

Commit

Permalink
Move to latest eslint
Browse files Browse the repository at this point in the history
This fixes deprecation warnings about
`parserOptions.ecmaFeatures.experimentalObjectRestSpread`.

Closes cockpit-project#11124
  • Loading branch information
martinpitt committed Feb 7, 2019
1 parent fcd8c26 commit 8e956fc
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
"extends": ["eslint:recommended", "standard", "standard-react"],
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": "7",
"ecmaFeatures": {
"experimentalObjectRestSpread": true,
"jsx": true
},
"sourceType": "module"
Expand Down
22 changes: 11 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,23 +47,23 @@
"@babel/preset-env": "^7.0.0",
"@babel/preset-react": "^7.0.0",
"axe-core": "^2.6.1",
"babel-eslint": "^9.0.0",
"babel-eslint": "^10.0.1",
"babel-loader": "^8.0.4",
"chrome-remote-interface": "^0.25.2",
"clean-css": "~3.4.20",
"copy-webpack-plugin": "^4.5.2",
"css-loader": "^0.28.10",
"eslint": "^4.18",
"eslint": "^5.13.0",
"eslint-plugin-cockpit": "file:eslint-plugin-cockpit",
"eslint-config-standard": "^11.0.0",
"eslint-config-standard-react": "^6.0.0",
"eslint-loader": "^2.1.0",
"eslint-plugin-flowtype": "2.39.1",
"eslint-plugin-import": "^2.11.0",
"eslint-plugin-node": "^6.0.1",
"eslint-plugin-promise": "^3.7.0",
"eslint-plugin-react": "^7.7.0",
"eslint-plugin-standard": "^3.0.1",
"eslint-config-standard": "^12.0.0",
"eslint-config-standard-react": "^7.0.2",
"eslint-loader": "^2.1.2",
"eslint-plugin-flowtype": "^3.2.1",
"eslint-plugin-import": "^2.16.0",
"eslint-plugin-node": "^8.0.1",
"eslint-plugin-promise": "^4.0.1",
"eslint-plugin-react": "^7.12.4",
"eslint-plugin-standard": "^4.0.0",
"exports-loader": "~0.6.3",
"extend": "~3.0.0",
"extract-text-webpack-plugin": "^4.0.0-beta.0",
Expand Down

0 comments on commit 8e956fc

Please sign in to comment.