forked from tomblind/scm-buttons-vscode
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtslint.json
62 lines (61 loc) · 2.18 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-eslint-rules"
],
"rules": {
"ban-ts-ignore": true,
"member-access": true,
"no-any": true,
"no-internal-module": true,
"no-non-null-assertion": true,
"no-unnecessary-type-assertion": true,
"prefer-for-of": true,
"ban-comma-operator": true,
"curly": true,
"no-conditional-assignment": true,
"no-duplicate-super": true,
"no-duplicate-switch-case": true,
"function-constructor": true,
"no-eval": true,
"no-for-in-array": true,
"no-invalid-this": true,
"no-misused-new": true,
"no-null-keyword": true,
"no-shadowed-variable": true,
"no-string-literal": true,
"no-string-throw": true,
"no-this-assignment": true,
"no-unsafe-any": true,
"no-unused-expression": true,
"no-var-keyword": true,
"restrict-plus-operands": true,
"static-this": true,
"strict-boolean-expressions": true,
"triple-equals": true,
"prefer-const": true,
"prefer-readonly": true,
"class-name": true,
"interface-over-type-literal": true,
"no-angle-bracket-type-assertion": true,
"no-unnecessary-initializer": true,
"object-literal-key-quotes": [true, "as-needed"],
"prefer-method-signature": true,
"prefer-template": [true, "allow-single-concat"],
"space-before-function-paren": [true, "never"],
"space-within-parens": [true, 0],
"type-literal-delimiter": true,
"variable-name": [true, "check-format", "allow-leading-underscore", "allow-trailing-underscore", "ban-keywords"],
"eofline": true,
"new-parens": true,
"no-trailing-whitespace": true,
"quotemark": [true, "double", "avoid-escape"],
"semicolon": [true, "always"],
"brace-style": [true, "1tbs", {"allow-single-line": true}],
"array-bracket-spacing": [true, "never"],
"block-spacing": [true, "always"],
"ter-indent": [true, 4],
"ter-max-len": [true, 120],
"object-curly-spacing": [true, "never"],
"space-in-parens": [true, "never"]
}
}