This repository has been archived by the owner on Sep 6, 2020. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 30
/
tslint.json
124 lines (123 loc) · 3.31 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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
{
"extends": [
"tslint:latest"
],
"rulesDirectory": [
"node_modules/codelyzer"
],
"rules": {
// Angular 2 Styleguide
// Check https://github.com/mgechev/codelyzer for more info and rules.
// https://angular.io/styleguide
// TODO: Enable "check-pipe" below once https://github.com/mgechev/codelyzer/issues/379 and https://github.com/mgechev/codelyzer/issues/365 and others get fixed
"angular-whitespace": {
"options": [
"check-semicolon",
"check-interpolation"
]
},
// "banana-in-box": true,
// "no-access-missing-member": true,
"templates-no-negated-async": true,
"use-view-encapsulation": true,
"directive-selector": {
"options": [
"attribute",
"rj",
"camelCase"
]
},
"component-selector": {
"options": [
"element",
"rj",
"kebab-case"
]
},
"pipe-naming": {
"options": [
"camelCase",
"rj"
]
},
"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": {
"options": [
"Component"
]
},
"directive-class-suffix": {
"options": [
"Directive"
]
},
"import-destructuring-spacing": false,
"templates-use-public": true,
"invoke-injectable": true,
// TSLint
"arrow-parens": {
"options": [
"ban-single-arg-parens"
]
},
"no-consecutive-blank-lines": {
"options": 2
},
"no-implicit-dependencies": false,
"no-submodule-imports": {
"options": [
"@angular",
"angularfire2",
"core-js",
"intl",
"rxjs",
"zone.js"
]
},
"interface-name": false,
"no-shadowed-variable": false,
"max-line-length": {
"options": [
240
]
},
"member-access": {
"options": [
"no-public"
]
},
"object-literal-sort-keys": false,
"ordered-imports": {
"options": {
"import-sources-order": "any",
"named-imports-order": "case-insensitive"
}
},
"prefer-function-over-method": {
"options": [
"allow-public"
]
},
"prefer-method-signature": true,
"trailing-comma": {
"options": {
"multiline": "never",
"singleline": "never"
}
},
"quotemark": {
"options": [
"avoid-escape",
"single"
]
}
}
}