1 |
ee1670e3
|
hlavja
|
{
|
2 |
|
|
"extends": "tslint:recommended",
|
3 |
|
|
"rules": {
|
4 |
|
|
"array-type": false,
|
5 |
37487772
|
Lukáš Moučka
|
"arrow-parens": false,
|
6 |
ee1670e3
|
hlavja
|
"deprecation": {
|
7 |
|
|
"severity": "warning"
|
8 |
|
|
},
|
9 |
37487772
|
Lukáš Moučka
|
"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 |
37487772
|
Lukáš Moučka
|
"interface-name": false,
|
29 |
ee1670e3
|
hlavja
|
"max-classes-per-file": false,
|
30 |
|
|
"max-line-length": [
|
31 |
|
|
true,
|
32 |
|
|
140
|
33 |
|
|
],
|
34 |
37487772
|
Lukáš Moučka
|
"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 |
37487772
|
Lukáš Moučka
|
"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 |
37487772
|
Lukáš Moučka
|
"object-literal-sort-keys": false,
|
69 |
|
|
"ordered-imports": false,
|
70 |
ee1670e3
|
hlavja
|
"quotemark": [
|
71 |
|
|
true,
|
72 |
|
|
"single"
|
73 |
|
|
],
|
74 |
37487772
|
Lukáš Moučka
|
"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 |
37487772
|
Lukáš Moučka
|
"use-pipe-transform-interface": true
|
87 |
|
|
},
|
88 |
|
|
"rulesDirectory": [
|
89 |
|
|
"codelyzer"
|
90 |
|
|
]
|
91 |
ee1670e3
|
hlavja
|
}
|