This repository was archived by the owner on Jul 14, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathtslint.json
More file actions
58 lines (58 loc) · 1.82 KB
/
tslint.json
File metadata and controls
58 lines (58 loc) · 1.82 KB
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
{
"extends": "tslint:recommended",
"defaultSeverity": "error",
"rulesDirectory": [
"tslint-no-unused-expression-chai"
],
"rules": {
// TSLint override
"no-this-assignment": [true, {"allow-destructuring": true}],
"no-duplicate-imports": true,
"encoding": true,
"indent": [true, "spaces", 4],
"no-bitwise": false,
"object-literal-shorthand": false,
"adjacent-overload-signatures": false,
"max-classes-per-file": [false],
"arrow-parens": false,
"no-inferrable-types": [false],
"interface-name": [ true, "never-prefix" ],
"no-string-literal": false,
"variable-name": [true, "ban-keywords", "check-format", "allow-leading-underscore"], // https://github.com/palantir/tslint/issues/1489
"whitespace": [true,
"check-branch",
"check-decl",
"check-operator",
"check-separator",
"check-type"
],
"ordered-imports": [true, {
"import-sources-order": "case-insensitive",
"named-imports-order": "lowercase-last"
}],
"object-literal-sort-keys": false,
"arrow-return-shorthand": [true],
"ban": [
true,
["describe", "only"],
["it", "only"]
],
"no-empty-interface": false,
"space-before-function-paren": [false],
"no-irregular-whitespace": true,
"no-invalid-template-strings": true,
"no-sparse-arrays": true,
"no-duplicate-switch-case": true,
"no-return-await": true,
"ban-comma-operator": true,
"no-dynamic-delete": true,
"prefer-readonly": true,
"prefer-const": true,
"no-unused-expression": false,
"no-unused-expression-chai": true
},
"jsRules": {
"object-literal-sort-keys": false,
"trailing-comma": [false]
}
}