-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
25 lines (25 loc) · 983 Bytes
/
.eslintrc.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{
"plugins": ["@typescript-eslint"],
"extends": ["next/core-web-vitals", "plugin:@typescript-eslint/recommended"],
"rules": {
"@typescript-eslint/no-unused-vars": "error",
"@typescript-eslint/no-explicit-any": "error",
"no-console": [1, { "allow": ["warn", "error"] }],
"react/react-in-jsx-scope": 0,
"react/display-name": 0,
"react/prop-types": 0,
"@typescript-eslint/explicit-function-return-type": 0,
"@typescript-eslint/explicit-member-accessibility": 0,
"@typescript-eslint/indent": 0,
"@typescript-eslint/member-delimiter-style": 0,
"@typescript-eslint/no-var-requires": 0,
"@typescript-eslint/interface-name-prefix": 0,
"jsx-a11y/click-events-have-key-events": 0,
"jsx-a11y/no-static-element-interactions": 0,
"jsx-a11y/anchor-is-valid": 0,
"@typescript-eslint/ban-ts-comment": 1,
"react-hooks/rules-of-hooks": 2,
"react-hooks/exhaustive-deps": 0,
"import/no-anonymous-default-export": 0
}
}