-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
executable file
·56 lines (56 loc) · 1.45 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
{
"extends": "airbnb/base",
"parser": "babel-eslint",
"globals": {
"define": true,
"require": true,
"exports": true,
"module": true,
"describe": true,
"before": true,
"beforeEach": true,
"after": true,
"afterEach": true,
"it": true,
"inject": true,
"expect": true,
"angular": true,
"ApplicationConfiguration": true
},
"rules": {
"comma-dangle": 0,
"max-len": [2, 200, 4],
"quote-props": [2, "as-needed", { "keywords": false, "unnecessary": false }],
"object-curly-spacing": [2, "never"],
"object-shorthand": 0,
"prefer-const": 0,
"no-param-reassign": 0,
"new-cap": [2, {"capIsNewExceptions": ["express.Router"], "newIsCap": false}],
"arrow-body-style": [1, "as-needed"],
"no-shadow": [1, {"allow": ["next", "err"]}],
"no-use-before-define": 1,
"no-unused-vars": 1,
"strict": [0, "safe"],
"no-var": 1,
"vars-on-top": 0,
"no-useless-escape": 1,
"prefer-template": 1,
"one-var": 1,
"radix": 0,
"no-else-return": 0,
"default-case": 0,
"func-names": 0,
"prefer-arrow-callback": 1,
"no-underscore-dangle": 0,
"consistent-return": 1,
"global-require": 1,
"no-restricted-syntax": [1, "FunctionExpression"],
"guard-for-in": 0,
"no-throw-literal": 0,
"dot-notation": 1,
"no-nested-ternary": 1,
"import/no-unresolved": 1,
"no-proto": 0,
"no-trailing-spaces": [2, { "skipBlankLines": true }]
}
}