-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.eslintrc
executable file
·44 lines (44 loc) · 1.18 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
{
"parser": "babel-eslint",
"env": {
"es6": true,
"node": true,
"browser": true
},
"ecmaFeatures": {
"jsx": true
},
"globals": {
"define": true,
"require": true,
"describe": true,
"beforeEach": true,
"afterEach": true,
"before": true,
"after": true,
"it": true,
"sinon": true,
"should": true,
"mocha": true
},
"rules": {
"no-alert": [0],
"strict": [0],
"eol-last":[0],
"no-underscore-dangle":[0],
"no-shadow": [0],
"camelcase": [0],
"indent": [2, 4, {"SwitchCase": 1}],
"quotes": [2, "single", "avoid-escape"],
"quote-props": [2, "consistent-as-needed"],
"linebreak-style": [2, "unix"],
"semi": [2, "always"],
"func-style": 0,
"max-params": [2, 4],
"no-use-before-define": [2, "nofunc"],
"comma-dangle": [2, "never"],
"no-multi-spaces": [2, { "exceptions": { "Property": true, "VariableDeclarator": true, "ImportDeclaration": true}}],
"no-unused-vars": [2, {"vars": "all", "args": "none"}],
"no-undef": 2
}
}