-
Notifications
You must be signed in to change notification settings - Fork 0
/
tslint.json
151 lines (151 loc) · 3.84 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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
{
"defaultSeverity": "error",
"extends": [
"tslint:latest",
"tslint-eslint-rules",
"tslint-react"
],
"rules": {
"array-bracket-spacing": [
true,
"never"
],
"arrow-parens": false,
"arrow-return-shorthand": true,
"ban-types": false,
"block-spacing": [
true,
"never"
],
"class-name": true,
"comment-format": [true, "check-space"],
"completed-docs": false, // One day...
"curly": true,
"encoding": true,
"eofline": true,
"interface-name": [
true,
"never-prefix"
],
"interface-over-type-literal": false,
"linebreak-style": "LF",
"max-classes-per-file": false,
"member-access": [true, "no-public"],
"member-ordering": false,
"new-parens": true,
"no-bitwise": false,
"no-conditional-assignment": true,
"no-consecutive-blank-lines": [true, 2],
"no-console": true,
"no-debugger": true,
"no-duplicate-imports": false, // One day when they have a fixer
"no-duplicate-super": true,
"no-duplicate-switch-case": true,
"no-duplicate-variable": true,
"no-empty": false,
"no-eval": true,
"no-empty-interface": false,
"no-implicit-dependencies": [true, "dev"],
"no-invalid-template-strings": true,
"no-invalid-this": false,
"no-irregular-whitespace": true,
"no-redundant-jsdoc": true,
"no-reference-import": true,
"no-require-imports": true,
"no-shadowed-variable": false,
"no-submodule-imports": [true, "three/examples/jsm"],
"no-string-literal": true,
"no-string-throw": true,
"no-trailing-whitespace": true,
"no-unsafe-finally": true,
"no-unused-expression": [true, "allow-fast-null-checks"],
"no-var-keyword": true,
"number-literal-format": false, // Maybe change to true when they have a fixer
"object-curly-spacing": true,
"object-literal-key-quotes": [true, "consistent-as-needed"],
"object-literal-shorthand": true,
"object-literal-sort-keys": false,
"one-variable-per-declaration": false,
"ordered-imports": [
true,
{
"grouped-imports": true,
"import-sources-order": "case-insensitive",
"module-source-path": "full",
"named-import-order": "case-insensitive"
}
],
"prefer-conditional-expression": false,
"prefer-const": true,
"prefer-method-signature": true,
"prefer-switch": false,
"prefer-template": false,
"quotemark": {
"options": [
"avoid-escape",
"single"
]
},
"semicolon": {
"options": [
"never"
]
},
"space-in-parens": [
true,
"never"
],
"ter-arrow-spacing": [
true,
{
"after": true,
"before": true
}
],
"ter-indent": [
true,
2,
{
"SwitchCase": 1
}
],
"ter-max-len": [
true,
120
],
"ter-prefer-arrow-callback": true,
"trailing-comma": [
true,
{
"multiline": {
"arrays": "always",
"exports": "always",
"functions": "always",
"imports": "always",
"objects": "always",
"typeLiterals": "never"
},
"singleline": "never"
}
],
"triple-equals": [true, "allow-null-check"],
"use-isnan": true,
"variable-name": [true, "ban-keywords", "check-format", "allow-pascal-case"],
"jsx-alignment": false,
"jsx-ban-elements": false,
"jsx-ban-props": false,
"jsx-boolean-value": false,
"jsx-curly-spacing": false,
"jsx-equals-spacing": false,
"jsx-key": false,
"jsx-no-bind": false,
"jsx-no-lambda": true,
"jsx-no-multiline-js": false,
"jsx-no-string-ref": false,
"jsx-use-translation-function": false,
"jsx-self-close": false,
"jsx-space-before-trailing-slash": false,
"jsx-wrap-multiline": false
},
"rulesDirectory": []
}