-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
40 lines (40 loc) · 894 Bytes
/
.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
{
"parserOptions": {
"ecmaVersion": 13
},
"env": {
"browser": true
},
"rules": {
"jsx-a11y/anchor-is-valid": "off",
"react/jsx-filename-extension": 0,
"react/react-in-jsx-scope": 0,
"react/forbid-prop-types": 0,
"react/no-unescaped-entities": 0,
"no-unused-vars": "warn",
"template-curly-spacing": "off",
"object-curly-newline": "off",
"react/jsx-props-no-spreading": "off",
"react-hooks/exhaustive-deps": "warn",
"max-len": ["warn", 200],
"react/prop-types": "warn",
"import/prefer-default-export": 0,
"no-underscore-dangle": 0,
"no-console": "warn",
"indent": [
"warn",
2,
{
"ignoredNodes": ["TemplateLiteral"]
}
]
},
"extends": ["airbnb", "airbnb/hooks"],
"sort-imports": [
"error",
{
"ignoreCase": true,
"ignoreDeclarationSort": true
}
]
}