Skip to content

Commit

Permalink
Merge pull request #70 from SH5H/lintRule
Browse files Browse the repository at this point in the history
Add Lint rules
  • Loading branch information
vmatsiiako authored Dec 4, 2022
2 parents 3bb3fd3 + 0eff4a7 commit 040fa81
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 → frontend/.eslintrc
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 040fa81

Please sign in to comment.