-
Notifications
You must be signed in to change notification settings - Fork 1
/
tslint.json
56 lines (50 loc) · 1.6 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
{
"rulesDirectory": [
"./node_modules/codelyzer",
"tslint-consistent-codestyle"
],
"extends": ["tslint:latest", "tslint-angular", "tslint-config-prettier"],
"rules": {
"no-submodule-imports": false,
"no-implicit-dependencies": false,
"interface-name": false,
"no-console": false,
"no-unused": true,
"no-var-before-return": true,
"no-else-after-return": true,
"member-ordering": [
true,
{
"order": [
"public-instance-field",
"protected-instance-field",
"private-instance-field",
"constructor",
"public-instance-method",
"protected-instance-method",
"private-instance-method"
]
}
],
"component-class-suffix": [true, "Component"],
"directive-class-suffix": [true, "Directive"],
"directive-selector": [true, "attribute", ["app"], "camelCase"],
"component-selector": [true, "element", "app", "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": true,
"use-life-cycle-interface": true,
"use-pipe-transform-interface": true,
"no-output-named-after-standard-event": true,
"no-life-cycle-call": true,
"prefer-output-readonly": true,
"no-conflicting-life-cycle-hooks": true,
"enforce-component-selector": true
}
}