This repository has been archived by the owner on Dec 16, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathtslint.json
88 lines (88 loc) · 2.7 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
{
"rulesDirectory": "node_modules/tslint-eslint-rules/dist/rules",
"rules": {
"align": [true, "parameters", "statements"],
"class-name": true,
"comment-format": [true, "check-space"],
"eofline": true,
"one-line": [true, "check-else", "check-whitespace", "check-catch", "check-finally"],
"typedef": [
true,
"call-signature",
"property-declaration"
],
"typedef-whitespace": [
true, {
"call-signature": "nospace",
"index-signature": "nospace",
"parameter": "nospace",
"property-declaration": "nospace",
"variable-declaration": "nospace"
}, {
"call-signature": "onespace",
"index-signature": "onespace",
"parameter": "onespace",
"property-declaration": "onespace",
"variable-declaration": "onespace"
}
],
"whitespace": [
true,
"check-branch",
"check-decl",
"check-operator",
"check-module",
"check-separator",
"check-type",
"check-typecast"
],
"trailing-comma": [true, { "multiline": "always", "singleline": "never" }],
"no-conditional-assignment": true,
"no-console": [true, "log", "dir", "stack"],
"no-constant-condition": true,
"no-control-regex": true,
"no-debugger": true,
"no-duplicate-case": true,
"no-empty": true,
"no-empty-character-class": true,
"no-ex-assign": true,
"no-extra-boolean-cast": true,
"no-extra-semi": true,
"no-floating-promises": [true, "Bluebird"],
"no-inner-declarations": [true, "both"],
"no-invalid-regexp": true,
"no-irregular-whitespace": true,
"no-regex-spaces": true,
"no-sparse-arrays": true,
"no-unexpected-multiline": true,
"use-isnan": true,
"jsdoc-format": true,
"valid-typeof": true,
"curly": true,
"switch-default": true,
"triple-equals": true,
"forin": false,
"no-arg": true,
"no-eval": true,
"no-switch-case-fall-through": true,
"no-multi-spaces": [true],
"no-duplicate-variable": true,
"no-unused-expression": true,
"radix": true,
"no-shadowed-variable": true,
"array-bracket-spacing": [true, "never"],
"block-spacing": [true, "never"],
"brace-style": [true, "1tbs"],
"variable-name": [true, "ban-keywords", "check-format", "allow-leading-underscore"],
"ter-indent": [true, 2],
"indent": [true, "spaces"],
"no-consecutive-blank-lines": [true, 2],
"no-trailing-whitespace": true,
"object-curly-spacing": [true, "always"],
"one-variable-per-declaration": [true, "ignore-for-loop"],
"quotemark": [true, "single", "avoid-escape"],
"semicolon": [true, "always"],
"no-var-keyword": true,
"ter-prefer-arrow-callback": [true]
}
}