Skip to content

Commit

Permalink
deps/package.json: replace deprecated babel-eslint with @babel/eslint…
Browse files Browse the repository at this point in the history
…-parser and update eslinrc config
  • Loading branch information
philli-m committed Nov 10, 2021
1 parent 93805d5 commit 7d4080d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
8 changes: 6 additions & 2 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
{
"parser": "babel-eslint",
"parser": "@babel/eslint-parser",
"parserOptions": {
"ecmaVersion": 6,
"requireConfigFile": false,
"babelOptions": {
"presets": ["@babel/preset-react"]
},
"ecmaFeatures": {
"experimentalObjectRestSpread": true
}
Expand All @@ -22,6 +26,6 @@
"jsx-a11y/no-onchange": "off",
},
"plugins": [
"jsx-a11y"
"jsx-a11y",
]
}
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"repository": "https://github.com/liqd/a4-meinberlin.git",
"dependencies": {
"@babel/core": "7.16.0",
"@babel/eslint-parser": "^7.16.3",
"@babel/plugin-transform-modules-commonjs": "7.16.0",
"@babel/plugin-transform-runtime": "7.16.0",
"@babel/preset-env": "7.16.0",
Expand Down Expand Up @@ -63,7 +64,7 @@
"whatwg-fetch": "3.6.2"
},
"devDependencies": {
"babel-eslint": "10.1.0",
"@babel/eslint-plugin": "^7.14.5",
"eslint": "8.2.0",
"eslint-config-standard": "16.0.3",
"eslint-config-standard-jsx": "10.0.0",
Expand Down

0 comments on commit 7d4080d

Please sign in to comment.