-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
62 lines (62 loc) · 1.19 KB
/
.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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
{
"parser": "babel-eslint",
"rules": {
"strict": 0,
"linebreak-style": [2, "unix"],
"eol-last": 1,
"quotes": [1, "single", "avoid-escape"],
"semi": [2, "always"],
"camelcase": [2, {
"properties": "never"
}],
"brace-style": [1, "1tbs", {
"allowSingleLine": true
}],
"no-nested-ternary": 1,
"no-unused-vars": [2, {
"argsIgnorePattern": "event"
}],
"no-console": 0,
"max-depth": [2, 4],
"dot-notation": 1,
"eqeqeq": 2,
"no-implied-eval": 2,
"no-loop-func": 1,
"radix": 2,
"no-magic-numbers": [1, {
"ignore": [0, 1, 2, -1, 10]
}],
"complexity": [2, 10],
"yoda": [2, "never"]
},
"env": {
"browser": true,
"node": true,
"es6": true,
"webextensions": true
},
"globals": {
"config": true,
"import": true,
"Promise": true,
"React": true,
"moment": true
},
"plugins": [
"react"
],
"parserOptions": {
"sourceType": "module",
"allowImportExportEverywhere": false,
"codeFrame": false,
"ecmaFeatures": {
"jsx": true,
"modules": true
}
},
"extends": "airbnb",
"ecmaFeatures": {
"jsx": true,
"modules": true
}
}