-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathtslint.json
More file actions
executable file
·58 lines (58 loc) · 1.41 KB
/
tslint.json
File metadata and controls
executable file
·58 lines (58 loc) · 1.41 KB
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
{
"extends": "airbnb",
"rules": {
"import/no-unresolved": "off",
"import/no-dynamic-require": "off",
"global-require": "off",
"func-names": "off",
"no-use-before-define": "off",
"no-plusplus": [
"error",
{
"allowForLoopAfterthoughts": true
}
],
"prefer-const": "off",
"no-console": "off",
"no-global-assign": "off",
"class-methods-use-this": "off",
"no-empty-function": [
"off",
{
"allow": [
"arrowFunctions",
"methods"
]
}
],
"no-underscore-dangle": "off",
"consistent-return": "off",
"no-nested-ternary": "off",
"max-len": [
"warn",
{
"code": 300,
"ignoreComments": true
}
],
"eqeqeq": ["warn"],
"operator-linebreak": ["error", "after", { "overrides": { "=": "none" } }],
"no-bitwise": "off",
"no-unused-vars": ["error", { "vars": "all", "args": "none", "ignoreRestSiblings": false }],
"prefer-destructuring": ["warn", {"object": true, "array": false}],
"no-param-reassign": ["error", {"props": false}],
"no-await-in-loop": ["warn"],
"no-useless-escape": "off",
"no-extend-native": "off",
"no-eval": ["warn"],
"no-multi-str": "off",
"no-control-regex": ["warn"],
"no-fallthrough": ["warn"],
"no-continue":"off",
"no-loop-func": "off"
},
"env": {
"browser": true,
"node": true
}
}