Skip to content

Commit

Permalink
Add eslint rules
Browse files Browse the repository at this point in the history
  • Loading branch information
SH5H committed Dec 4, 2022
1 parent a5d509c commit 43bf99e
Show file tree
Hide file tree
Showing 3 changed files with 446 additions and 428 deletions.
12 changes: 10 additions & 2 deletions frontend/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,16 @@
{
"extends": ["next/babel", "next/core-web-vitals"],
"plugins": ["simple-import-sort"],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"next",
"next/core-web-vitals"
],
"parser": "@typescript-eslint/parser",
"plugins": ["simple-import-sort", "@typescript-eslint"],
"rules": {
"react-hooks/exhaustive-deps": "off",
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": "error",
"simple-import-sort/exports": "warn",
"simple-import-sort/imports": [
"warn",
Expand Down
Loading

0 comments on commit 43bf99e

Please sign in to comment.