forked from microsoft/vscode-cmake-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tslint.json
39 lines (39 loc) · 1.29 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
{
"rules": {
"no-unused-expression": true,
"no-duplicate-variable": true,
"curly": false,
"class-name": true,
"semicolon": [true, "always"],
"prefer-for-of": true,
"only-arrow-functions": [true, "allow-declarations"],
"await-promise": [true, "Thenable", "PromisedAssertion"],
"ban-comma-operator": true,
"no-console": [true, "info", "error", "warn"],
"no-floating-promises": [true, "PromisedAssertion"],
/// Errors when we use `tsconfig` "paths" option. Check for a fix in newer TSLint:
// "no-implicit-dependencies": [true, "dev"],
"no-shadowed-variable": true,
"no-return-await": true,
"no-string-throw": true,
"no-switch-case-fall-through": true,
"no-unbound-method": true,
"no-this-assignment": true,
"no-unnecessary-class": true,
"no-unsafe-finally": true,
"no-var-keyword": true,
"prefer-object-spread": true,
"restrict-plus-operands": true,
"strict-type-predicates": true,
"prefer-const": true,
"prefer-readonly": true,
"arrow-parens": [true, "ban-single-arg-parens"],
"arrow-return-shorthand": true,
"no-boolean-literal-compare": true,
"no-angle-bracket-type-assertion": true,
"no-trailing-whitespace": true,
"object-literal-shorthand": true,
"object-literal-key-quotes": [true, "as-needed"],
"prefer-template": [true, "allow-single-concat"]
}
}