-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtslint.json
46 lines (45 loc) · 1.43 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
{
"rulesDirectory": [
"node_modules/codelyzer",
"node_modules/tslint-microsoft-contrib"
],
"extends": ["tslint-microsoft-contrib"],
"rules": {
"directive-selector": [
true,
"attribute",
"app",
"camelCase"
],
"component-selector": [
true,
"element",
"app",
"kebab-case"
],
"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-rename": true,
"no-forward-ref": true,
"use-life-cycle-interface": true,
"use-pipe-transform-interface": true,
"component-class-suffix": true,
"directive-class-suffix": true,
"no-output-on-prefix": true,
"interface-name": [true, "never-prefix"],
"variable-name": [true, "ban-keywords", "check-format", "allow-leading-underscore"],
"no-relative-imports": false,
"no-consecutive-blank-lines": [true, 2],
"typedef": [true, "arrow-call-signature", "parameter", "arrow-parameter", "property-declaration",
"variable-declaration", "member-variable-declaration", "object-destructuring", "array-destructuring"],
"no-invalid-this": false,
"align": [true, "parameters", "statements"],
"no-import-side-effect": [true, {"ignore-module": "^rxjs"}],
"export-name": false,
"no-stateless-class": false,
"max-classes-per-file": [false]
}
}