-
Notifications
You must be signed in to change notification settings - Fork 33
/
.eslintrc
44 lines (43 loc) · 1015 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
44
{
"parser": "@babel/eslint-parser",
"plugins": [
"@babel",
"react"
],
"parserOptions": {
"ecmaFeatures": {
"arrowFunctions": true,
"binaryLiterals": true,
"blockBindings": true,
"classes": true,
"defaultParams": true,
"destructuring": true,
"forOf": true,
"modules": true,
"objectLiteralComputedProperties": true,
"objectLiteralDuplicateProperties": false,
"objectLiteralShorthandMethods": true,
"objectLiteralShorthandProperties": true,
"octalLiterals": true,
"restParams": true,
"spread": true,
"templateStrings": true,
"unicodeCodePointEscapes": true,
"globalReturn": false,
"jsx": true,
"experimentalObjectRestSpread": true,
}
},
"rules": {
"indent": ["error", 2],
"semi": [2],
"react/jsx-indent-props": ["error", 2],
"react/jsx-indent": ["error", 2]
},
"env": {
"node": true,
"es6": true,
"jest": true,
"jasmine": true
}
}