forked from obartra/ssim
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
51 lines (51 loc) · 1.11 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
{
"env": {
"es6": true,
"node": true
},
"extends": ["airbnb", "prettier"],
"rules": {
"no-labels": 2,
"no-tabs": 0,
"no-plusplus": 0,
"no-use-before-define": 0,
"no-empty-label": 0,
"space-before-keywords": 0,
"no-multiple-empty-lines": [
2,
{
"max": 1
}
],
"eol-last": 2,
"linebreak-style": [2, "unix"],
"max-nested-callbacks": [2, 3],
"global-require": [2],
"no-underscore-dangle": [2, { "allow": ["_private"] }],
"no-restricted-syntax": [2, "WithStatement", "class"],
"import/no-extraneous-dependencies": [0],
"no-mixed-operators": [0],
"no-prototype-builtins": [0],
"max-statements": [2, 25],
"jsx-a11y/href-no-hash": [0],
"newline-after-var": [2, "always"],
"newline-per-chained-call": [
2,
{
"ignoreChainWithDepth": 3
}
],
"no-param-reassign": 0,
"one-var": [0, "never"],
"keyword-spacing": [
2,
{
"after": true,
"before": true,
"overrides": {}
}
],
"space-after-keywords": 0,
"space-return-throw-case": 0
}
}