-
Notifications
You must be signed in to change notification settings - Fork 2
/
.eslintrc.json
40 lines (40 loc) · 767 Bytes
/
.eslintrc.json
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
{
"env": {
"browser": true,
"es6": true,
"node": true
},
"plugins": [
"react",
"prettier"
],
"extends": [
"eslint:recommended",
"plugin:react/recommended"
],
"parser": "babel-eslint",
"parserOptions": {
"sourceType": "module",
"ecmaVersion": 6,
"ecmaFeatures": {
"arrowFunctions": true,
"classes": true,
"destructuring": true,
"spread": true,
"experimentalObjectRestSpread": true
}
},
"rules": {
"no-extra-semi": 0,
"no-unused-vars": ["error", {"ignoreRestSiblings": true}],
"react/display-name": 0,
"linebreak-style": ["error", "unix"],
"prettier/prettier": [
"warn",
{
"singleQuote": true,
"semi": false
}
]
}
}