-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
40 lines (40 loc) · 1.06 KB
/
.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
{
"extends": "airbnb",
"env": {
"browser": true,
"mocha": true,
"node": true,
"jquery": true,
"serviceworker": true,
"es6": true
},
"plugins": [
"import",
"react"
],
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true,
"experimentalObjectRestSpread": true
}
},
"rules": {
"indent": [2, "tab", { "VariableDeclarator": { "var": 2, "let": 2, "const": 3 } }],
"no-console": 0,
"quotes": 0,
"brace-style": [2, "1tbs"],
"comma-dangle": ["error", "always-multiline"],
"max-len": [2, 120],
"semi": [2, "always", { "omitLastInOneLineBlock": true }],
"no-cond-assign": [2, "except-parens"],
"func-names": 0,
"no-param-reassign": [2, { "props": false }],
"no-unused-vars": 1,
"react/jsx-indent": [2, "tab"],
"react/jsx-indent-props": [2, "tab"],
"new-cap": 0,
"react/prop-types": 0
}
}