-
-
Notifications
You must be signed in to change notification settings - Fork 26
/
tslint.json
43 lines (43 loc) · 1.27 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
{
"extends": "tslint:latest",
"rules": {
"array-type": [true, "generic"],
"arrow-return-shorthand": true,
"interface-name": [true, "never-prefix"],
"member-access": [true, "no-public"],
"newline-before-return": true,
"no-angle-bracket-type-assertion": false,
"no-consecutive-blank-lines": [true, 1],
"no-console": [false],
"no-implicit-dependencies": false,
"no-irregular-whitespace": true,
"no-submodule-imports": false,
"no-trailing-whitespace": [true, "ignore-blank-lines"],
"no-unnecessary-initializer": true,
"no-var-requires": false,
"object-literal-key-quotes": [true, "as-needed"],
"object-literal-sort-keys": false,
"one-variable-per-declaration": [true, "ignore-for-loop"],
"ordered-imports": false,
"prefer-conditional-expression": false,
"trailing-comma": [
true,
{
"multiline": "always",
"singleline": "never",
"esSpecCompliant": true
}
],
"variable-name": [true, "ban-keywords", "check-format", "allow-leading-underscore"],
"quotemark": [true, "single"],
"whitespace": [true,
"check-branch",
"check-decl",
"check-operator",
"check-module",
"check-separator",
"check-type",
"check-preblock"
]
}
}