-
Notifications
You must be signed in to change notification settings - Fork 1
/
tslint.json
59 lines (56 loc) · 1.33 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
{
"extends": [
"codelyzer",
"tslint:recommended",
"tslint-config-standard",
"tslint-config-prettier"
],
"rules": {
// @override: tslint:recommended / tslint-config-standard
"object-literal-sort-keys": false,
"no-floating-promises": false,
"no-empty": false,
// @core: code rules
"deprecation": {
"severity": "warn"
},
"import-blacklist": [
true,
"rxjs",
"rxjs/Rx"
],
// @core: type rules
"interface-over-type-literal": false,
"member-access": false,
"no-inferrable-types": [
true,
"ignore-params"
],
"interface-name": [true, "never-prefix"],
"no-non-null-assertion": true,
// @ codelyzer rules
"directive-selector": [
true,
"attribute",
"app",
"camelCase"
],
"component-selector": [
true,
"element",
"app",
"kebab-case"
],
"no-output-on-prefix": true,
"use-input-property-decorator": true,
"use-output-property-decorator": true,
"use-host-property-decorator": true,
"no-input-rename": true,
"no-output-rename": true,
"use-life-cycle-interface": true,
"use-pipe-transform-interface": true,
"component-class-suffix": true,
"directive-class-suffix": true,
"angular-whitespace": [true, "check-interpolation", "check-semicolon"]
}
}