Skip to content

Commit

Permalink
chore: use typescript-eslint (#478)
Browse files Browse the repository at this point in the history
  • Loading branch information
matmut7 authored Feb 13, 2023
1 parent 4497cc0 commit 6046b60
Show file tree
Hide file tree
Showing 3 changed files with 478 additions and 360 deletions.
12 changes: 9 additions & 3 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
{
"extends": ["next/core-web-vitals"],
"plugins": ["prettier"],
"extends": [
"next/core-web-vitals",
"eslint:recommended",
"plugin:@typescript-eslint/recommended"
],
"plugins": ["@typescript-eslint", "prettier"],
"rules": {
"prettier/prettier": "error"
}
},
"parser": "@typescript-eslint/parser",
"root": true
}
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@
"@types/node": "17.0.12",
"@types/react": "17.0.53",
"@types/react-modal": "3.13.1",
"@typescript-eslint/eslint-plugin": "5.49.0",
"@typescript-eslint/parser": "5.49.0",
"autoprefixer": "10.4.13",
"eslint": "8.31.0",
"eslint-config-next": "12.3.4",
Expand Down
Loading

0 comments on commit 6046b60

Please sign in to comment.