-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
43 lines (43 loc) · 1000 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
41
42
43
{
"extends": [
"airbnb",
"prettier",
"prettier/react"
],
"globals": {
"window": "readonly"
},
"rules": {
"no-trailing-spaces": "off",
"react/jsx-indent": "off",
"no-unused-vars": 1,
"react/jsx-indent-props": "off",
"react/prop-types": "off",
"react/jsx-curly-brace-presence": "off",
"react/prefer-stateless-function": 2,
"jsx-a11y/anchor-is-valid": ["error", {
"components": ["Link"],
"specialLink": ["to"]
}],
"class-methods-use-this": "off",
"function-paren-newline": "off",
"jsx-quotes": ["error", "prefer-single"],
"quote-props": ["error", "consistent"],
"max-len": ["warn", { "code": 120 }],
"brace-style": ["error", "stroustrup"],
"no-plusplus": "off",
"object-curly-newline": "off",
},
"env": {
"jest": true
},
"overrides": [
{
"files": ["*.test.jsx"],
"rules": {
"react/jsx-props-no-spreading": "off",
}
}
],
"parser": "babel-eslint"
}