-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
79 lines (79 loc) · 2.01 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
{
"root": true,
"extends": ["airbnb"],
"parser": "@typescript-eslint/parser",
"env": {
"browser": true,
"commonjs": true,
"es6": true,
"jest": true,
"node": true
},
"rules": {
"operator-linebreak": "off",
"no-shadow": "off",
"no-unused-vars": "off",
"arrow-body-style": "off",
"react/jsx-one-expression-per-line": "off",
"react/state-in-constructor": "off",
"react/static-property-placement": "off",
"react/no-deprecated": "off",
"react/require-default-props": "off",
"react/jsx-props-no-spreading": "off",
"import/no-extraneous-dependencies": [
"error",
{
"devDependencies": true
}
],
"jsx-a11y/label-has-associated-control": "off",
"react/function-component-definition": [
2,
{
"namedComponents": "arrow-function",
"unnamedComponents": "arrow-function"
}
],
"no-use-before-define": [
"error",
{
"variables": false
}
],
"react/destructuring-assignment": "off",
"jsx-a11y/href-no-hash": "off",
"react/jsx-filename-extension": "off",
"react/forbid-prop-types": "off",
"jsx-a11y/anchor-is-valid": "off",
"jsx-a11y/click-events-have-key-events": "off",
"jsx-a11y/no-static-element-interactions": "off",
"jsx-a11y/label-has-for": "off",
"jsx-a11y/media-has-caption": "off",
"jsx-a11y/no-noninteractive-element-interactions": "off",
"import/prefer-default-export": "off",
"import/extensions": "off",
"no-console": 2,
"object-curly-newline": "off",
"radix": "off",
"max-len": [
"error",
{
"code": 200,
"ignoreComments": true,
"ignoreTrailingComments": true,
"ignoreUrls": true,
"ignoreStrings": true,
"ignoreTemplateLiterals": true,
"ignoreRegExpLiterals": true
}
],
"function-paren-newline": "off"
},
"settings": {
"import/resolver": {
"node": {
"extensions": [".js", ".jsx", ".ts", ".tsx"]
}
}
}
}