-
Notifications
You must be signed in to change notification settings - Fork 307
/
tslint.json
67 lines (67 loc) · 1.52 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
{
"extends": [
"tslint:latest"
],
"linterOptions": {
"exclude": [
"webpack*",
"coverage/*"
]
},
"rules": {
"no-any": true,
"no-non-null-assertion": true,
"no-shadowed-variable": false,
"only-arrow-functions": false,
"no-implicit-dependencies": false,
"no-reference": false,
"max-line-length": [ true, { "limit": 120, "ignore-pattern": "^import"}],
"arrow-return-shorthand": true,
"member-ordering": [
true,
{
"order": [
"static-field",
"instance-field",
"static-method",
"instance-method"
]
}
],
"no-console": [
true,
"debug",
"info",
"time",
"timeEnd",
"trace"
],
"no-empty": false,
"no-empty-interface": true,
"no-string-literal": false,
"no-string-throw": true,
"no-switch-case-fall-through": true,
"no-unnecessary-initializer": true,
"no-unused-expression": true,
"no-var-keyword": true,
"object-literal-sort-keys": false,
"prefer-const": true
},
"ordered-imports": [
true,
{
"import-sources-order": "lowercase-last",
"named-imports-order": "lowercase-first"
}
],
"no-magic-numbers": false,
"no-duplicate-imports": true,
"no-trailing-whitespace": [
true,
"ignore-comments",
"ignore-blank-lines"
],
"file-name-casing": [true, "kebab-case"],
"quotemark": [true, "single", "avoid-escape", "avoid-template"],
"semicolon": [true, "always", "ignore-bound-class-methods"]
}