-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.eslintrc.json
45 lines (45 loc) · 1.34 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
{
"extends": [
"plugin:@typescript-eslint/recommended",
"airbnb",
"airbnb-typescript"
],
"parserOptions": {
"project": "./tsconfig.json"
},
"rules": {
"react/jsx-uses-react": "off",
"react/react-in-jsx-scope": "off",
"react/prop-types": "off",
"react/require-default-props": "off",
"react/jsx-props-no-spreading": "off",
"react/function-component-definition": "off",
"jsx-a11y/anchor-is-valid": "off",
"import/prefer-default-export": "off",
"@typescript-eslint/quotes": ["error", "double"],
"@typescript-eslint/no-explicit-any": "error",
"jsx-a11y/label-has-associated-control": 0,
"max-len": [
"error",
100,
2,
{
"ignoreUrls": true,
"ignoreComments": true,
"ignoreRegExpLiterals": true,
"ignoreStrings": true,
"ignoreTemplateLiterals": false
}
],
"jsx-a11y/no-static-element-interactions": 0,
"jsx-a11y/click-events-have-key-events": 0,
"jsx-a11y/control-has-associated-label": 0,
"jsx-a11y/no-noninteractive-element-interactions": 0,
"react/no-unknown-property": ["error", { "ignore": ["css"] }],
"@next/next/no-img-element": "off",
"prefer-destructuring": "warn",
"@next/next/no-html-link-for-pages": "off",
"import/no-extraneous-dependencies": "off",
"no-console": "off"
}
}