-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
60 lines (60 loc) · 1.73 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
50
51
52
53
54
55
56
57
58
59
60
{
"extends": ["next/core-web-vitals", "airbnb"],
"rules": {
"react/prop-types": "off",
"no-plusplus": "off",
"react/no-array-index-key": "off",
"react/button-has-type": "off",
"react/jsx-boolean-value": "off",
"react/jsx-filename-extension": "off",
"no-console": "off",
"import/prefer-default-export": "off",
"space-infix-ops": "off",
"jsx-a11y/click-events-have-key-events": "off",
"jsx-a11y/no-static-element-interactions": "off",
"jsx-a11y/no-noninteractive-element-interactions": "off",
"jsx-a11y/anchor-is-valid": 0,
"import/named": "off",
"import/no-named-as-default": "off",
"guard-for-in": "off",
"no-restricted-syntax": "off",
"consistent-return": "off",
"array-callback-return": "off",
"jsx-a11y/label-has-associated-control": "off",
"import/no-extraneous-dependencies": "off",
"no-await-in-loop": "off",
"radix": "off",
"semi": ["error", "always"],
"semi-style": ["error", "last"],
"quotes": ["error", "single"],
"jsx-quotes": ["error", "prefer-double"],
"import/export": 0,
"import/extensions": [
"error",
"ignorePackages",
{
"js": "never",
"jsx": "never",
"ts": "never",
"tsx": "never"
}
],
"no-use-before-define": "off",
"react/react-in-jsx-scope": "off",
"react/jsx-props-no-spreading": "off",
"no-tabs": "off",
"no-empty-pattern": "off",
"indent": ["error", "tab"],
"react/jsx-indent": ["error", "tab"],
"react/jsx-indent-props": ["error", "tab"],
"object-curly-newline": "off",
"react/jsx-one-expression-per-line": "off",
"max-len": "off",
"arrow-body-style": "off",
"@next/next/no-img-element": "off",
"linebreak-style": "off",
"@next/next/no-document-import-in-page": "off",
"no-lonely-if": "off",
"import/export": 0
}
}