-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtslint.json
82 lines (82 loc) · 2.05 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
{
"rules": {
"no-floating-promises": true,
"no-async-without-await": true,
"no-conditional-assignment": true,
"triple-equals": true,
"max-classes-per-file": [true, 1],
"no-require-imports": true,
"binary-expression-operand-order": true,
"class-name": true,
"comment-format": [true,
"check-lowercase",
{"ignore-words": [
"TODO",
"FIX",
"REF",
"NOTE"]}
],
"file-name-casing": [true, "kebab-case"],
"no-boolean-literal-compare": true,
"no-parameter-properties": true,
"object-literal-key-quotes": false,
"prefer-method-signature": true,
"arrow-parens": true,
"import-spacing": true,
"indent": [true, "spaces", 2],
"newline-per-chained-call": true,
"max-line-length": [
true,
{
"limit": 80,
"ignore-pattern": "^import |^export | implements | (https?)://[^ ]+$"
}
],
"semicolon": [true, "always"],
"whitespace": [true,
"check-branch",
"check-decl",
"check-operator",
"check-module",
"check-typecast",
"check-separator",
"check-rest-spread",
"check-type",
"check-typecast",
"check-type-operator",
"check-preblock"
],
"align": [true, "parameters", "statements"],
"variable-name": {
"options": [
"ban-keywords",
"check-format"
]
},
"trailing-comma": [
true,
{
"multiline": {
"objects": "always",
"arrays": "always",
"functions": "never",
"typeLiterals": "ignore"
},
"esSpecCompliant": true
}
],
"increment-decrement": [true, "allow-post"],
"prefer-readonly": true,
"no-duplicate-imports": true,
"unnecessary-constructor": true,
"prefer-conditional-expression": [true, "check-else-if"],
"no-shadowed-variable": true,
"no-magic-numbers": true,
"member-ordering": [true, {"order": "fields-first"}],
"member-access": [true, "no-public"],
"one-line": [
true,
"check-open-brace"
]
}
}