-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
49 lines (46 loc) · 1.17 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
{
"extends": [
"airbnb"
],
"rules": {
"comma-dangle": ["error", "never"],
"max-len": ["error", {
"code": 150,
"ignoreStrings": true,
"ignoreComments": true
}],
"no-undef": 0,
"no-console": 0,
"no-var": 0,
"eol-last": 0,
"object-curly-spacing": ["error", "never"],
"import/no-dynamic-require": 0,
"global-require": 0,
"linebreak-style": 0,
"import/no-extraneous-dependencies": 0,
"prefer-const": 0,
"prefer-arrow-callback": 0,
"func-names": ["error", "never"],
"no-param-reassign": 0,
"radix": 0,
"no-underscore-dangle": ["error", {
"allow": ["_element", "_onEventSent", "__super__", "_version"],
"allowAfterThis": true
}],
"new-cap": ["error", {
"newIsCap": false,
"capIsNew": false
}],
"prefer-rest-params": 0,
"no-useless-escape": 0,
"no-plusplus": 0,
"no-unused-vars": ["error", { "args": "none" }],
"new-parens": 0,
"no-use-before-define": ["error", { "variables": false }],
// should be removed in future
"vars-on-top": 0,
"consistent-return": 0,
"block-scoped-var": 0,
"wrap-iife": ["error", "any"]
}
}