-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy path.eslintrc
42 lines (42 loc) · 886 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
{
"rules": {
"indent": [1, 2],
"quotes": [2, "single"],
"no-mixed-requires": [1, true],
"linebreak-style": [2, "unix"],
"semi": [2, "never"],
"space-before-function-paren": [2, "always"],
"space-before-blocks": [2, "always"],
"space-in-parens": [2, "never"],
"padded-blocks": [2, "never"],
"react/prop-types": 1,
"react/no-multi-comp": 1
},
"env": {
"es6": true,
"commonjs": true,
"browser": true
},
"extends": ["eslint:recommended", "plugin:react/recommended"],
"parserOptions": {
"sourceType": "module",
"ecmaFeatures": {
"modules": true,
"jsx": true
},
"ecmaVersion": 2019
},
"settings": {
"react": {
"version": "16.8"
}
},
"globals": {
"describe": true,
"it": true,
"jest": true,
"expect": true,
"beforeEach": true,
"afterEach": true
}
}