-
Notifications
You must be signed in to change notification settings - Fork 20
/
tslint.json
51 lines (51 loc) · 1.57 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
{
"extends": "tslint:latest",
"rulesDirectory": [
"node_modules/codelyzer"
],
"rules": {
"array-type": [true, "generic"],
"arrow-return-shorthand": true,
"component-class-suffix": true,
"directive-class-suffix": true,
"invoke-injectable": true,
"member-access": [true, "no-public"],
"newline-before-return": true,
"no-access-missing-member": true,
"no-angle-bracket-type-assertion": false,
"no-attribute-parameter-decorator": true,
"no-consecutive-blank-lines": [true, 1],
"no-console": [false],
"no-forward-ref": true,
"no-input-rename": true,
"no-irregular-whitespace": true,
"no-output-rename": true,
"no-unnecessary-initializer": true,
"no-var-requires": false,
"object-literal-key-quotes": [true, "as-needed"],
"object-literal-sort-keys": false,
"one-variable-per-declaration": [true, "ignore-for-loop"],
"pipe-naming": [true, "camelCase", "sg"],
"use-host-property-decorator": true,
"use-input-property-decorator": true,
"use-life-cycle-interface": true,
"use-output-property-decorator": true,
"use-pipe-transform-interface": true,
"template-to-ng-template": true,
"templates-use-public": true,
"trailing-comma": [true, {
"multiline": "never",
"singleline": "never"
}],
"variable-name": [true, "ban-keywords", "check-format", "allow-leading-underscore"],
"whitespace": [true,
"check-branch",
"check-decl",
"check-operator",
"check-module",
"check-separator",
"check-type",
"check-preblock"
]
}
}