Move to latest eslint standard plugin

This fixes the three warnings that recently started to appear:

    [ESLINT_LEGACY_OBJECT_REST_SPREAD] DeprecationWarning: The 'parserOptions.ecmaFeatures.experimentalObjectRestSpread' option is deprecated. Use 'parserOptions.ecmaVersion' instead. (found in "standard-react")
    [ESLINT_LEGACY_OBJECT_REST_SPREAD] DeprecationWarning: The 'parserOptions.ecmaFeatures.experimentalObjectRestSpread' option is deprecated. Use 'parserOptions.ecmaVersion' instead. (found in "node_modules/eslint-config-standard-jsx/index.js")
    [ESLINT_LEGACY_OBJECT_REST_SPREAD] DeprecationWarning: The 'parserOptions.ecmaFeatures.experimentalObjectRestSpread' option is deprecated. Use 'parserOptions.ecmaVersion' instead. (found in "standard")

Closes #99
This commit is contained in:
Martin Pitt 2019-02-06 09:48:55 +01:00 committed by GitHub
parent 2a2f99b6f0
commit f6430895c7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions

View file

@ -6,8 +6,8 @@
"extends": ["eslint:recommended", "standard", "standard-react"], "extends": ["eslint:recommended", "standard", "standard-react"],
"parser": "babel-eslint", "parser": "babel-eslint",
"parserOptions": { "parserOptions": {
"ecmaVersion": "7",
"ecmaFeatures": { "ecmaFeatures": {
"experimentalObjectRestSpread": true,
"jsx": true "jsx": true
}, },
"sourceType": "module" "sourceType": "module"

View file

@ -23,15 +23,15 @@
"copy-webpack-plugin": "^4.5.2", "copy-webpack-plugin": "^4.5.2",
"css-loader": "^0.28.11", "css-loader": "^0.28.11",
"eslint": "^5.4.0", "eslint": "^5.4.0",
"eslint-config-standard": "^11.0.0", "eslint-config-standard": "^12.0.0",
"eslint-config-standard-react": "^6.0.0", "eslint-config-standard-react": "^7.0.2",
"eslint-loader": "^2.1.0", "eslint-loader": "^2.1.0",
"eslint-plugin-flowtype": "^2.50.0", "eslint-plugin-flowtype": "^2.50.0",
"eslint-plugin-import": "^2.14.0", "eslint-plugin-import": "^2.14.0",
"eslint-plugin-node": "^7.0.1", "eslint-plugin-node": "^7.0.1",
"eslint-plugin-promise": "^4.0.0", "eslint-plugin-promise": "^4.0.0",
"eslint-plugin-react": "^6.9.0", "eslint-plugin-react": "^7.12.4",
"eslint-plugin-standard": "^3.1.0", "eslint-plugin-standard": "^4.0.0",
"extract-text-webpack-plugin": "^4.0.0-beta.0", "extract-text-webpack-plugin": "^4.0.0-beta.0",
"htmlparser": "^1.7.7", "htmlparser": "^1.7.7",
"jed": "^1.1.1", "jed": "^1.1.1",