-
Notifications
You must be signed in to change notification settings - Fork 32
/
tslint.json
62 lines (62 loc) · 1.91 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
{
"extends": ["tslint:latest", "tslint-config-prettier"],
"rules": {
"arrow-parens": true,
"arrow-return-shorthand": [true],
"comment-format": [true],
"curly": true,
"interface-name": [true, "always-prefix"],
"interface-over-type-literal": true,
"max-line-length": [false],
"member-access": true,
"member-ordering": [true, { "order": "fields-first" }],
"newline-before-return": true,
"no-any": false,
"no-bitwise": true,
"no-conditional-assignment": true,
"no-console": [true, "log"],
"no-duplicate-variable": true,
"no-empty-interface": true,
"no-inferrable-types": [false],
"no-invalid-this": [true, "check-function-in-method"],
"no-null-keyword": false,
"no-parameter-reassignment": true,
"no-require-imports": true,
"no-submodule-imports": false,
"no-switch-case-fall-through": true,
"no-this-assignment": [true, { "allow-destructuring": true }],
"no-trailing-whitespace": true,
"no-var-keyword": true,
"object-literal-shorthand": true,
"object-literal-sort-keys": false,
"one-variable-per-declaration": [true],
"only-arrow-functions": [true, "allow-declarations"],
"ordered-imports": [false],
"prefer-conditional-expression": [true, "check-else-if"],
"prefer-method-signature": false,
"prefer-template": [true, "allow-single-concat"],
"quotemark": [true, "single"],
"semicolon": [true],
"trailing-comma": [
true,
{
"multiline": {
"objects": "always",
"arrays": "always",
"functions": "never",
"typeLiterals": "ignore"
},
"esSpecCompliant": true
}
],
"triple-equals": [true, "allow-null-check"],
"typedef": [true, "parameter", "property-declaration"],
"variable-name": [
true,
"ban-keywords",
"check-format",
"allow-pascal-case",
"allow-leading-underscore"
]
}
}