-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtslint.json
62 lines (62 loc) · 1.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
{
"rules": {
"align": [true, "parameters", "statements"],
"array-type": [true, "array"],
"class-name": true,
// "comment-format": [true, "check-lowercase", "check-space"],
"comment-format": [true, "check-space"],
"curly": true,
"eofline": true,
"indent": [true, "spaces"],
"label-position": true,
"linebreak-style": [true, "LF"],
// "max-line-length": [true, 120],
"no-angle-bracket-type-assertion": true,
"no-arg": true,
"no-conditional-assignment": true,
"no-consecutive-blank-lines": [true, 2],
"no-construct": true,
"no-default-export": true,
"no-duplicate-variable": true,
"no-eval": true,
"no-invalid-this": true,
"no-require-imports": true,
"no-shadowed-variable": true,
"no-trailing-whitespace": true,
"no-unused-expression": true,
"no-var-keyword": true,
"object-literal-key-quotes": [true, "as-needed"],
"object-literal-shorthand": true,
"one-line": [
true,
"check-catch",
"check-else",
"check-finally",
"check-open-brace",
"check-whitespace"
],
"one-variable-per-declaration": [true, "ignore-for-loop"],
"prefer-const": true,
"quotemark": [true, "avoid-escape", "single"],
"semicolon": [true, "never"],
"switch-default": true,
"trailing-comma": [true, { "multiline": "always", "singleline": "never" }],
"triple-equals": true,
"variable-name": [
true,
"allow-leading-underscore",
"ban-keywords",
"check-format"
],
"whitespace": [
true,
"check-branch",
"check-decl",
"check-module",
"check-operator",
"check-separator",
"check-type",
"check-typecast"
]
}
}