-
Notifications
You must be signed in to change notification settings - Fork 11
/
.eslintrc
43 lines (37 loc) · 801 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
{
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 6,
"ecmaFeatures": {
"experimentalObjectRestSpread": true,
"jsx": true
},
"sourceType": "module"
},
"env": {
"es6": true,
"browser": true
},
"plugins": [
"standard",
"react"
],
"globals": {
"document": false,
"navigator": false,
"window": false,
"CustomElements": false,
"require": false,
"module": false,
},
"extends": "airbnb",
"rules": {
/* rules that are to strict */
// disable prop-types
'react/prop-types': [0, { ignore: [], customValidators: [] }],
'arrow-body-style': [0, 'as-needed'],
// prefer single instead of double
'jsx-quotes': [2, 'prefer-single'],
'object-curly-spacing': ["error", "never"]
}
}