-
Notifications
You must be signed in to change notification settings - Fork 2
/
.eslintrc.json
49 lines (49 loc) · 1.54 KB
/
.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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
{
"root": true,
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint", "prettier", "jsx-a11y"],
"parserOptions": {
"project": "./tsconfig.json",
"createDefaultProgram": true
},
"env": {
"browser": true,
"node": true,
"es6": true
},
"ignorePatterns": ["node_modules/"],
"extends": [
"next/core-web-vitals",
"plugin:@typescript-eslint/recommended",
"plugin:prettier/recommended",
"prettier"
],
"rules": {
"import/no-dynamic-require": "off",
"no-alert": "off",
"react-hooks/exhaustive-deps": "off",
"jsx-a11y/click-events-have-key-events": "off",
"jsx-a11y/no-static-element-interactions": "off",
"@typescript-eslint/no-use-before-define": "off",
"no-console": "off",
"no-unsafe-optional-chaining": "off",
"prefer-template": "off",
"react/react-in-jsx-scope": "off",
"react/jsx-filename-extension": ["warn", { "extensions": [".ts", ".tsx"] }],
"no-useless-catch": "off",
"import/prefer-default-export": "off",
"react/require-default-props": "off",
"@typescript-eslint/no-unused-vars": "off",
"@typescript-eslint/no-var-requires": "off",
"global-require": "off",
"react/function-component-definition": [
2,
{ "namedComponents": ["arrow-function", "function-declaration"] }
],
"no-nested-ternary": "off",
"jsx-a11y/no-noninteractive-element-interactions": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-throw-literal": "off",
"@typescript-eslint/no-shadow": "off"
}
}