This repository was archived by the owner on Mar 23, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathtslint.json
More file actions
42 lines (42 loc) · 1.41 KB
/
Copy pathtslint.json
File metadata and controls
42 lines (42 loc) · 1.41 KB
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
{
"extends": ["tslint-config-prettier", "tslint-plugin-prettier"],
"rules": {
"array-type": [true, "array"],
"ban-comma-operator": true,
"curly": true,
"jsdoc-format": [true, "check-multiline-start"],
"member-ordering": [
true,
{
"alphabetize": true,
"order": ["public-instance-field", "private-instance-field", "public-constructor", "private-constructor", "public-instance-method", "protected-instance-method", "private-instance-method"]
}
],
"no-console": true,
"no-duplicate-imports": true,
"no-duplicate-switch-case": true,
"no-duplicate-variable": [true, "check-parameters"],
"no-floating-promises": true,
"no-invalid-template-strings": true,
"no-namespace": true,
"no-object-literal-type-assertion": true,
"no-return-await": true,
"no-sparse-arrays": true,
"no-this-assignment": true,
"no-unused-variable": true,
"object-literal-sort-keys": {
"severity": "warning"
},
"ordered-imports": true,
"prefer-conditional-expression": false,
"prefer-const": true,
"prefer-readonly": true,
"prettier": true,
"space-within-parens": [true, 0],
"typedef": [true, "call-signature"],
"variable-name": [true, "allow-leading-underscore", "allow-pascal-case", "ban-keywords", "check-format"]
},
"linterOptions": {
"exclude": ["**/bower_components/**", "**/dist/**", "**/node_modules/**"]
}
}