Skip to content

Commit

Permalink
simpler eslint config (no custom babel)
Browse files Browse the repository at this point in the history
  • Loading branch information
ccorda committed Dec 18, 2021
1 parent 7c90e69 commit 2164d98
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
10 changes: 1 addition & 9 deletions website/.eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,12 @@
},
"plugins": ["react", "import"],
"extends": [
"next",
"eslint:recommended",
"plugin:react/recommended",
"plugin:react-hooks/recommended",
"plugin:@next/next/recommended",
"prettier"
],
"parser": "babel-eslint",
"parserOptions": {
"ecmaFeatures": {
"jsx": true // enable linting for jsx files
},
"ecmaVersion": 11,
"sourceType": "module"
},
"settings": {
"react": {
"version": "detect"
Expand Down
3 changes: 1 addition & 2 deletions website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,8 @@
},
"devDependencies": {
"@next/bundle-analyzer": "^12.0.4",
"babel-eslint": "^10.1.0",
"cross-env": "^7.0.3",
"eslint": "<8.0.0",
"eslint": "^8.5.0",
"eslint-config-next": "^12.0.4",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.25.3",
Expand Down

0 comments on commit 2164d98

Please sign in to comment.