-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtslint.json
executable file
·100 lines (100 loc) · 3.16 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
90
91
92
93
94
95
96
97
98
99
100
{
"defaultSeverity": "error",
"extends": [],
"jsRules": {},
"rules": {
"adjacent-overload-signatures": true,
"align": [
true,
"parameters",
"statements"
],
"array-type": [true, "generic"],
"arrow-parens": true,
"arrow-return-shorthand": false,
"ban": false,
"callable-types": true,
"class-name": true,
"comment-format": [true, "check-lowercase", {"ignore-words": ["TODO", "XXX"]}],
"curly": true,
"eofline": true,
"forin": true,
"quotemark": [true, "single"],
"import-spacing": false,
"indent": [true, "spaces", 4],
"interface-name": true,
"max-line-length": [true, 100],
"member-access": false,
"member-ordering": [
true,
"public-before-private",
"static-before-instance",
"variables-before-functions"
],
"newline-before-return": true,
"new-parens": true,
"no-any": false,
"no-arg": true,
"no-bitwise": false,
"no-conditional-assignment": false,
"no-consecutive-blank-lines": true,
"no-console": [
true,
"debug",
"info",
"time",
"timeEnd",
"trace"
],
"no-construct": true,
"no-constructor-vars": false,
"no-debugger": true,
"no-duplicate-super": true,
"no-duplicate-variable": true,
"no-empty": true,
"no-eval": true,
"no-inferrable-types": false,
"no-internal-module": true,
"no-invalid-template-strings": true,
"no-invalid-this": true,
"no-object-literal-type-assertion": true,
"no-null-keyword": false,
"no-require-imports": false,
"no-shadowed-variable": true,
"no-sparse-arrays": true,
"no-string-literal": true,
"no-switch-case-fall-through": true,
"no-this-assignment": true,
"no-trailing-whitespace": true,
"no-unnecessary-initializer": true,
"no-unsafe-finally": true,
"no-unused-expression": false,
"no-var-keyword": true,
"no-var-requires": false,
"number-literal-format": true,
"object-literal-shorthand": true,
"object-literal-sort-keys": true,
"one-line": [
true,
"check-open-brace",
"check-catch",
"check-else",
"check-whitespace"
],
"ordered-imports": false,
"prefer-method-signature": true,
"prefer-switch": true,
"semicolon": [true, "always"],
"space-before-function-paren": [true, "never"],
"switch-default": true,
"switch-final-break": [true, "always"],
"triple-equals": true,
"typeof-compare": true,
"type-literal-delimiter": true,
"no-angle-bracket-type-assertion": false,
"use-isnan": true,
"variable-name": [true, "ban-keywords", "check-format", "allow-leading-underscore"],
"whitespace": [true, "check-branch", "check-operator", "check-typecast"]
},
"rulesDirectory": []
}