1 |
ee1670e3
|
hlavja
|
{
|
2 |
|
|
"extends": "tslint:recommended",
|
3 |
|
|
"rules": {
|
4 |
|
|
"array-type": false,
|
5 |
f8b9a3a2
|
hlavja
|
"arrow-parens": false,
|
6 |
ee1670e3
|
hlavja
|
"deprecation": {
|
7 |
|
|
"severity": "warning"
|
8 |
|
|
},
|
9 |
f8b9a3a2
|
hlavja
|
"component-class-suffix": true,
|
10 |
|
|
"contextual-lifecycle": true,
|
11 |
|
|
"directive-class-suffix": true,
|
12 |
|
|
"directive-selector": [
|
13 |
|
|
true,
|
14 |
|
|
"attribute",
|
15 |
|
|
"app",
|
16 |
|
|
"camelCase"
|
17 |
|
|
],
|
18 |
|
|
"component-selector": [
|
19 |
|
|
true,
|
20 |
|
|
"element",
|
21 |
|
|
"app",
|
22 |
|
|
"kebab-case"
|
23 |
|
|
],
|
24 |
ee1670e3
|
hlavja
|
"import-blacklist": [
|
25 |
|
|
true,
|
26 |
|
|
"rxjs/Rx"
|
27 |
|
|
],
|
28 |
f8b9a3a2
|
hlavja
|
"interface-name": false,
|
29 |
ee1670e3
|
hlavja
|
"max-classes-per-file": false,
|
30 |
|
|
"max-line-length": [
|
31 |
|
|
true,
|
32 |
|
|
140
|
33 |
|
|
],
|
34 |
f8b9a3a2
|
hlavja
|
"member-access": false,
|
35 |
ee1670e3
|
hlavja
|
"member-ordering": [
|
36 |
|
|
true,
|
37 |
|
|
{
|
38 |
|
|
"order": [
|
39 |
|
|
"static-field",
|
40 |
|
|
"instance-field",
|
41 |
|
|
"static-method",
|
42 |
|
|
"instance-method"
|
43 |
|
|
]
|
44 |
|
|
}
|
45 |
|
|
],
|
46 |
f8b9a3a2
|
hlavja
|
"no-consecutive-blank-lines": false,
|
47 |
ee1670e3
|
hlavja
|
"no-console": [
|
48 |
|
|
true,
|
49 |
|
|
"debug",
|
50 |
|
|
"info",
|
51 |
|
|
"time",
|
52 |
|
|
"timeEnd",
|
53 |
|
|
"trace"
|
54 |
|
|
],
|
55 |
|
|
"no-empty": false,
|
56 |
|
|
"no-inferrable-types": [
|
57 |
|
|
true,
|
58 |
|
|
"ignore-params"
|
59 |
|
|
],
|
60 |
|
|
"no-non-null-assertion": true,
|
61 |
|
|
"no-redundant-jsdoc": true,
|
62 |
|
|
"no-switch-case-fall-through": true,
|
63 |
|
|
"no-var-requires": false,
|
64 |
|
|
"object-literal-key-quotes": [
|
65 |
|
|
true,
|
66 |
|
|
"as-needed"
|
67 |
|
|
],
|
68 |
f8b9a3a2
|
hlavja
|
"object-literal-sort-keys": false,
|
69 |
|
|
"ordered-imports": false,
|
70 |
ee1670e3
|
hlavja
|
"quotemark": [
|
71 |
|
|
true,
|
72 |
|
|
"single"
|
73 |
|
|
],
|
74 |
f8b9a3a2
|
hlavja
|
"trailing-comma": false,
|
75 |
ee1670e3
|
hlavja
|
"no-conflicting-lifecycle": true,
|
76 |
|
|
"no-host-metadata-property": true,
|
77 |
|
|
"no-input-rename": true,
|
78 |
|
|
"no-inputs-metadata-property": true,
|
79 |
|
|
"no-output-native": true,
|
80 |
|
|
"no-output-on-prefix": true,
|
81 |
|
|
"no-output-rename": true,
|
82 |
|
|
"no-outputs-metadata-property": true,
|
83 |
|
|
"template-banana-in-box": true,
|
84 |
|
|
"template-no-negated-async": true,
|
85 |
|
|
"use-lifecycle-interface": true,
|
86 |
f8b9a3a2
|
hlavja
|
"use-pipe-transform-interface": true
|
87 |
|
|
},
|
88 |
|
|
"rulesDirectory": [
|
89 |
|
|
"codelyzer"
|
90 |
|
|
]
|
91 |
ee1670e3
|
hlavja
|
}
|