-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathtslint.json
96 lines (95 loc) · 2.62 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
{
"extends": "tslint:recommended",
"rulesDirectory": [
"codelyzer"
],
"rules": {
"array-type": { "severity": "warning", "options": ["array"] },
"arrow-parens": false,
"directive-selector": false,
"component-selector": false,
"deprecation": {
"severity": "warn"
},
"import-blacklist": [
true,
"rxjs/Rx"
],
"interface-name": false,
"max-classes-per-file": false,
"max-line-length": [
true,
3000
],
"member-access": { "severity": "warning", "options": ["check-accessor", "check-parameter-property"]},
"member-ordering": [
true,
{
"order": [
"static-field",
"instance-field",
"static-method",
"instance-method"
]
}
],
"no-consecutive-blank-lines": false,
"no-console": [
true,
"debug",
"info",
"time",
"timeEnd",
"trace"
],
"no-namespace": false,
"no-empty": false,
"no-non-null-assertion": true,
"no-redundant-jsdoc": true,
"no-switch-case-fall-through": true,
"no-var-requires": false,
"no-string-literal": false,
"object-literal-key-quotes": [
true,
"as-needed"
],
"object-literal-sort-keys": false,
"ordered-imports": { "severity": "warning" },
"quotemark": [
true,
"single"
],
"trailing-comma": false,
"no-output-on-prefix": false,
"no-inputs-metadata-property": true,
"no-outputs-metadata-property": true,
"no-host-metadata-property": true,
"no-input-rename": true,
"no-output-rename": true,
"use-lifecycle-interface": true,
"use-pipe-transform-interface": true,
"component-class-suffix": true,
"no-attribute-decorator": true,
"variable-name": {
"options": [
"require-const-for-all-caps"
],
"severity": "warning"
},
"adjacent-overload-signatures": { "severity": "warning" },
"curly": { "severity": "warning" },
"no-duplicate-imports": { "severity": "warning" },
"no-duplicate-super": { "severity": "warning" },
"no-duplicate-switch-case": { "severity": "warning" },
"no-duplicate-variable": { "severity": "warning" },
"no-unused-expression": { "severity": "warning" },
"switch-default": { "severity": "warning" },
"triple-equals": { "severity": "warning" },
"prefer-readonly": { "severity": "warning" },
"arrow-return-shorthand": { "severity": "warning" },
"class-name": { "severity": "warning" },
"prefer-method-signature": { "severity": "warning" },
"prefer-template": { "severity": "warning" },
"semicolon": { "severity": "warning" }
}
}