-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtslint.json
47 lines (46 loc) · 1.22 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
{
"extends": ["tslint-angular"],
"rules": {
"directive-selector": [
false,
"attribute",
["dir-prefix1", "dir-prefix2"],
"camelCase"
],
"component-selector": [
false,
"element",
["cmp-prefix1", "cmp-prefix2"],
"kebab-case"
],
"angular-whitespace": [true, "check-interpolation", "check-semicolon"],
"use-input-property-decorator": true,
"use-output-property-decorator": true,
"use-host-property-decorator": true,
"no-attribute-parameter-decorator": true,
"no-input-rename": true,
"no-output-on-prefix": true,
"no-output-rename": true,
"no-forward-ref": false,
"use-life-cycle-interface": true,
"use-pipe-transform-interface": true,
"no-output-named-after-standard-event": true,
"no-use-before-declare": false,
"component-class-suffix": [false, "Component"],
"directive-class-suffix": [true, "Directive"],
"max-classes-per-file": [true, 2],
"no-shadowed-variable": [
true,
{
"class": true,
"enum": true,
"function": true,
"interface": false,
"namespace": false,
"typeAlias": true,
"typeParameter": true,
"import": false
}
]
}
}