This repository has been archived by the owner on Apr 18, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
tslint.json
68 lines (68 loc) · 1.7 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
60
61
62
63
64
65
66
67
68
{
"extends": [
"tslint:recommended"
],
"rulesDirectory": [
"node_modules/codelyzer"
],
"rules": {
// "no-unused-variable": [
// true
// ],
// Custom
"trailing-comma": [false, {
"multiline": "always",
"singleline": "never"
}],
"interface-name": [false, "always-prefix"],
// General
"no-console": [true,
"time",
"timeEnd",
"trace"
],
"max-line-length": [
true,
200
],
"max-classes-per-file": [false, 1],
"no-string-literal": false,
// "no-use-before-declare": true,
"object-literal-sort-keys": false,
"ordered-imports": false,
"new-parens": false,
"quotemark": [
true,
"single",
"avoid-escape"
],
"variable-name": [
true,
"allow-leading-underscore",
"allow-pascal-case",
"ban-keywords",
"check-format"
],
// Angular 2
"angular-whitespace": [true, "check-interpolation", "check-semicolon"],
"banana-in-box": true,
"templates-no-negated-async": true,
"directive-selector": [true, "attribute", "ryaa", "camelCase"],
"component-selector": [true, "element", "ryaa", "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-output-on-prefix": true,
"no-forward-ref": true,
"use-view-encapsulation": false,
"use-life-cycle-interface": true,
"use-pipe-transform-interface": true,
"pipe-prefix": [true, "ryaa"],
"component-class-suffix": false,
"directive-class-suffix": true,
"pipe-impure": true
}
}