-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
56 lines (55 loc) · 1.44 KB
/
.eslintrc
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
{
"parser": "babel-eslint",
"extends": ["airbnb", "prettier"],
"plugins": ["prettier"],
"rules": {
"func-names":"off",
"template-curly-spacing": "off",
"indent": "off",
"max-len": [
1,
70,
2,
{
"ignoreComments": true,
"ignoreStrings": true,
"ignoreTemplateLiterals": true,
"ignoreRegExpLiterals": true
}
],
"prettier/prettier": ["error"],
"react/jsx-filename-extension": [
1,
{ "extensions": [".js", ".jsx"] }
],
"react/prop-types": ["off"],
"import/no-extraneous-dependencies": [
"error",
{ "devDependencies": true }
],
"react/jsx-props-no-spreading": "off",
"no-unused-vars": "warn",
"no-console": 1,
"jsx-a11y/href-no-hash": "off",
"jsx-a11y/anchor-is-valid": [
"warn",
{ "aspects": ["invalidHref"] }
],
"no-underscore-dangle": "off",
"react/destructuring-assignment": "warn",
"jsx-a11y/label-has-associated-control": "off",
"no-restricted-globals": "warn",
"no-unneeded-ternary": "off",
"no-debugger": "off",
"react/static-property-placement": "off",
"react/sort-comp": "off",
"no-nested-ternary": "off",
"react/jsx-wrap-multilines": [
"error",
{ "declaration": false, "assignment": false }
]
},
"env": {
"browser": true
}
}