diff options
Diffstat (limited to 'src/frontend/.eslintrc')
| -rw-r--r-- | src/frontend/.eslintrc | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/frontend/.eslintrc b/src/frontend/.eslintrc new file mode 100644 index 0000000..8698cfb --- /dev/null +++ b/src/frontend/.eslintrc @@ -0,0 +1,26 @@ +{ + "extends": ["plugin:react/recommended", "plugin:@typescript-eslint/recommended", "next/core-web-vitals"], + "plugins": ["@typescript-eslint"], + "root": true, + "globals": {}, + "rules": { + "@typescript-eslint/no-non-null-assertion": "off", + "react-hooks/exhaustive-deps": "warn", + "no-unused-vars": "off", + "@typescript-eslint/no-unused-vars": "error", + "max-len": [ + "error", + { + "code": 150, + "ignoreComments": true, + "ignoreTrailingComments": true, + "ignoreUrls": true, + "ignoreStrings": true, + "ignoreTemplateLiterals": true + } + ] + }, + "parser": "@typescript-eslint/parser", + "env": {}, + "overrides": [] +} |
