-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathtslint.json
89 lines (89 loc) · 3.47 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
{
"defaultSeverity": "warning",
"rules": {
"adjacent-overload-signatures": true,
"align": ["arguments", "elements", "members", "parameters", "statements"],
"array-type": ["array"],
"arrow-parens": [true, "ban-single-arg-parens"],
"arrow-return-shorthand": [true, "multiline"],
"await-promise": true,
"ban": true,
"ban-comma-operator": true,
"binary-expression-operand-order": true,
"callable-types": true,
"curly": true,
"class-name": true,
"comment-format": [true, "check-space"],
"deprecation": true,
"encoding": true,
"eofline": true,
"indent": [true, "spaces"],
"interface-name": [true, "never-prefix"],
"interface-over-type-literal": true,
"import-spacing": true,
"jsdoc-format": true,
"linebreak-style": [true, "CRLF"],
"member-ordering": ["public-before-private", "static-before-instance", "variables-before-functions"],
"new-parens": true,
"no-angle-bracket-type-assertion": true,
"no-arg": true,
"no-boolean-literal-compare": true,
"no-consecutive-blank-lines": [true],
"no-console": [true, "log"],
"no-construct": true,
"no-debugger": true,
"no-default-export": true,
"no-duplicate-imports": true,
"no-duplicate-switch-case": true,
"no-duplicate-variable": true,
"no-empty": true,
"no-eval": true,
"no-for-in-array": true,
"no-inferrable-types": [true],
"no-internal-module": true,
"no-invalid-template-strings": true,
"no-irregular-whitespace": true,
"no-mergeable-namespace": true,
"no-misused-new": true,
"no-namespace": true,
"no-parameter-properties": true,
"no-redundant-jsdoc": true,
"no-reference-import": true,
"no-require-imports": true,
"no-return-await": true,
"no-shadowed-variable": true,
"no-string-throw": true,
"no-this-assignment": [true, {"allow-destructuring": true}],
"no-trailing-whitespace": true,
"no-unnecessary-callback-wrapper": true,
"no-unnecessary-class": true,
"no-unnecessary-initializer": true,
"no-unnecessary-qualifier": true,
"no-unsafe-finally": true,
"no-unused-expression": true,
"no-var-keyword": true,
"no-var-requires": true,
"number-literal-format": true,
"object-literal-key-quotes": [true, "as-needed"],
"object-literal-shorthand": true,
"ordered-imports": [true],
"one-line": [true, "check-open-brace", "check-whitespace", "check-catch", "check-else", "check-finally"],
"one-variable-per-declaration": [true, "ignore-for-loop"],
"no-sparse-arrays": true,
"prefer-const": true,
"prefer-function-over-method": [true, "allow-public", "allow-protected"],
"prefer-object-spread": true,
"prefer-readonly": true,
"prefer-switch": true,
"prefer-template": true,
"prefer-while": true,
"quotemark": [true, "double"],
"return-undefined": true,
"switch-final-break": [true, "always"],
"trailing-comma": [false],
"triple-equals": true,
"use-default-type-parameter": true,
"use-isnan": true,
"variable-name": [true, "ban-keywords"]
}
}