-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathtslint.json
64 lines (59 loc) · 2.78 KB
/
tslint.json
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
59
60
61
62
63
64
{
"extends": ["tslint-config-airbnb", "tslint-eslint-rules"],
"linterOptions": {
"exclude": [
"package.json"
]
},
"rules": {
"no-consecutive-blank-lines": [true, 2],
"strict-boolean-expressions": false,
"ter-prefer-arrow-callback": false,
"no-increment-decrement": false,
"prefer-array-literal": false,
"object-curly-spacing": false,
"ter-arrow-parens": false,
"max-line-length": false,
"comment-format": false,
"trailing-comma": false,
"variable-name": false,
"function-name": false,
"prefer-const": false,
"import-name": false,
"ter-indent": false,
"align": false,
"no-this-assignment": false,
"new-parens": false,
"no-console": false,
"arrow-parens": false,
"no-multi-spaces": false,
"no-unused-expression": false,
"no-use-before-define": ["error", { "functions": false }],
"no-restricted-properties": ["error", { "property" : "lenght" }],
"no-mixed-operators": ["error", { "allowSamePrecedence": true }],
"no-underscore-dangle": ["error", { "allow": ["__", "_id", "_watcher"] }],
"max-len": ["error", { "code": 140, "tabWidth": 2, "ignoreUrls": true }],
"whitespace": [true, "check-preblock"]
},
"jsRules": {
"no-consecutive-blank-lines": [true, 2],
"strict-boolean-expressions": false,
"ter-prefer-arrow-callback": false,
"no-increment-decrement": false,
"prefer-array-literal": false,
"variable-name": false,
"function-name": false,
"prefer-const": false,
"import-name": false,
"new-parens": false,
"no-console": false,
"arrow-parens": false,
"no-multi-spaces": false,
"no-unused-expression": false,
"no-use-before-define": ["error", { "functions": false }],
"no-restricted-properties": ["error", { "property" : "lenght" }],
"no-mixed-operators": ["error", { "allowSamePrecedence": true }],
"no-underscore-dangle": ["error", { "allow": ["__", "_id", "_watcher"] }],
"max-len": ["error", { "code": 140, "tabWidth": 2, "ignoreUrls": true }]
}
}