-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathtslint.json
82 lines (81 loc) · 2.33 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
{
"extends": "tslint:recommended",
"rulesDirectory": [
"node_modules/codelyzer"
],
"rules": {
"arrow-parens": [
true,
"ban-single-arg-parens"
],
"import-spacing": false,
"interface-name": [ true, "never-prefix" ],
"max-classes-per-file": [ false ],
"max-line-length": [
true,
180
],
"member-access": false,
"member-ordering": [
true,
"static-before-instance",
"variables-before-functions"
],
"no-duplicate-variable": true,
"no-empty": false,
"no-inferrable-types": [ false ],
"no-string-literal": false,
"no-switch-case-fall-through": true,
"object-literal-sort-keys": false,
"ordered-imports": [
true,
{
"import-sources-order": "case-insensitive",
"named-imports-order": "lowercase-last"
}
],
"quotemark": [
true,
"single"
],
"space-before-function-paren": [
true,
"never"
],
"typedef": [
true,
"call-signature",
"member-variable-declaration",
"parameter",
"property-declaration"
],
"variable-name": [
true,
"allow-leading-underscore",
"ban-keywords",
"check-format"
],
"whitespace": [
true,
"check-decl",
"check-operator",
"check-separator",
"check-type"
],
"component-class-suffix": true,
"component-selector": [ true, "element", "cbp", "kebab-case" ],
"directive-class-suffix": true,
"directive-selector": [ true, "attribute", "cbp", "camelCase" ],
"import-destructuring-spacing": true,
"no-attribute-parameter-decorator": true,
"no-forward-ref": true,
"no-input-rename": true,
"no-output-rename": true,
"pipe-naming": [ true, "camelCase", "cbp" ],
"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
}
}