-
Notifications
You must be signed in to change notification settings - Fork 3
/
tslint.json
32 lines (27 loc) · 952 Bytes
/
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
{
// See https://palantir.github.io/tslint/rules/
"rules": {
// These rules find errors related to TypeScript features.
"adjacent-overload-signatures": true,
"prefer-for-of": true,
"unified-signatures": true,
"no-any": false,
// These rules catch common errors in JS programming or otherwise
// confusing constructs that are prone to producing bugs.
"label-position": true,
"no-arg": true,
"no-construct": true,
"no-duplicate-variable": true,
"no-invalid-this": true,
"no-misused-new": true,
"no-shadowed-variable": true,
"no-string-throw": true,
"no-unused-expression": false,
"no-var-keyword": true,
"triple-equals": [true, "allow-null-check", "allow-undefined-check"],
"typeof-compare": true,
// These rules make code maintenance easier
"no-default-export": true,
"prefer-const": true
}
}