|
1 | 1 | {
|
2 |
| - "rulesDirectory": [ |
3 |
| - "node_modules/codelyzer" |
4 |
| - ], |
| 2 | + "rulesDirectory": ["node_modules/codelyzer"], |
5 | 3 | "rules": {
|
6 | 4 | "arrow-return-shorthand": true,
|
7 | 5 | "callable-types": true,
|
8 | 6 | "class-name": true,
|
9 |
| - "comment-format": [ |
10 |
| - true, |
11 |
| - "check-space" |
12 |
| - ], |
| 7 | + "comment-format": [true, "check-space"], |
| 8 | + "component-class-suffix": true, |
| 9 | + "component-selector": [true, "element", "app", "kebab-case"], |
13 | 10 | "curly": true,
|
14 |
| - "deprecation": { |
15 |
| - "severity": "warn" |
16 |
| - }, |
| 11 | + "deprecation": { "severity": "warn" }, |
| 12 | + "directive-class-suffix": true, |
17 | 13 | "eofline": true,
|
18 | 14 | "forin": true,
|
19 |
| - "import-blacklist": [ |
20 |
| - true, |
21 |
| - "rxjs/Rx" |
22 |
| - ], |
| 15 | + "import-blacklist": [true, "rxjs/Rx"], |
23 | 16 | "import-spacing": true,
|
24 |
| - "indent": [ |
25 |
| - true, |
26 |
| - "spaces" |
27 |
| - ], |
| 17 | + "indent": [true, "spaces"], |
28 | 18 | "interface-over-type-literal": true,
|
29 | 19 | "label-position": true,
|
30 |
| - "max-line-length": [ |
31 |
| - true, |
32 |
| - 140 |
33 |
| - ], |
| 20 | + "max-line-length": [true, 140], |
34 | 21 | "member-access": false,
|
35 | 22 | "member-ordering": [
|
36 | 23 | true,
|
|
45 | 32 | ],
|
46 | 33 | "no-arg": true,
|
47 | 34 | "no-bitwise": true,
|
48 |
| - "no-console": [ |
49 |
| - true, |
50 |
| - "debug", |
51 |
| - "info", |
52 |
| - "time", |
53 |
| - "timeEnd", |
54 |
| - "trace" |
55 |
| - ], |
| 35 | + "no-console": [true, "debug", "info", "time", "timeEnd", "trace"], |
56 | 36 | "no-construct": true,
|
57 | 37 | "no-debugger": true,
|
58 | 38 | "no-duplicate-super": true,
|
59 | 39 | "no-empty": false,
|
60 | 40 | "no-empty-interface": true,
|
61 | 41 | "no-eval": true,
|
62 |
| - "no-inferrable-types": [ |
63 |
| - true, |
64 |
| - "ignore-params" |
65 |
| - ], |
| 42 | + "no-host-metadata-property": true, |
| 43 | + "no-inferrable-types": [true, "ignore-params"], |
| 44 | + "no-input-rename": true, |
| 45 | + "no-inputs-metadata-property": true, |
66 | 46 | "no-misused-new": true,
|
67 | 47 | "no-non-null-assertion": true,
|
| 48 | + "no-output-on-prefix": true, |
| 49 | + "no-output-rename": true, |
| 50 | + "no-outputs-metadata-property": true, |
68 | 51 | "no-shadowed-variable": true,
|
69 | 52 | "no-string-literal": false,
|
70 | 53 | "no-string-throw": true,
|
71 | 54 | "no-switch-case-fall-through": true,
|
72 | 55 | "no-trailing-whitespace": true,
|
73 | 56 | "no-unnecessary-initializer": true,
|
74 | 57 | "no-unused-expression": true,
|
75 |
| - "no-use-before-declare": true, |
76 | 58 | "no-var-keyword": true,
|
77 | 59 | "object-literal-sort-keys": false,
|
78 | 60 | "one-line": [
|
|
83 | 65 | "check-whitespace"
|
84 | 66 | ],
|
85 | 67 | "prefer-const": true,
|
86 |
| - "quotemark": [ |
87 |
| - true, |
88 |
| - "single" |
89 |
| - ], |
| 68 | + "quotemark": [true, "single"], |
90 | 69 | "radix": true,
|
91 |
| - "semicolon": [ |
92 |
| - true, |
93 |
| - "always" |
94 |
| - ], |
95 |
| - "triple-equals": [ |
96 |
| - true, |
97 |
| - "allow-null-check" |
98 |
| - ], |
| 70 | + "semicolon": [true, "always"], |
| 71 | + "triple-equals": [true, "allow-null-check"], |
99 | 72 | "typedef-whitespace": [
|
100 | 73 | true,
|
101 | 74 | {
|
|
107 | 80 | }
|
108 | 81 | ],
|
109 | 82 | "unified-signatures": true,
|
| 83 | + "use-life-cycle-interface": true, |
| 84 | + "use-lifecycle-interface": true, |
| 85 | + "use-pipe-transform-interface": true, |
110 | 86 | "variable-name": false,
|
111 | 87 | "whitespace": [
|
112 | 88 | true,
|
|
115 | 91 | "check-operator",
|
116 | 92 | "check-separator",
|
117 | 93 | "check-type"
|
118 |
| - ], |
119 |
| - "component-selector": [ |
120 |
| - true, |
121 |
| - "element", |
122 |
| - "app", |
123 |
| - "kebab-case" |
124 |
| - ], |
125 |
| - "no-output-on-prefix": true, |
126 |
| - "no-inputs-metadata-property": true, |
127 |
| - "no-outputs-metadata-property": true, |
128 |
| - "no-host-metadata-property": true, |
129 |
| - "no-input-rename": true, |
130 |
| - "no-output-rename": true, |
131 |
| - "use-lifecycle-interface": true, |
132 |
| - "use-pipe-transform-interface": true, |
133 |
| - "component-class-suffix": true, |
134 |
| - "directive-class-suffix": true |
| 94 | + ] |
135 | 95 | }
|
136 | 96 | }
|
0 commit comments