|
19 | 19 | "createDefaultProgram": true |
20 | 20 | }, |
21 | 21 | "extends": [ |
22 | | - "plugin:@angular-eslint/ng-cli-compat", |
23 | | - "plugin:@angular-eslint/ng-cli-compat--formatting-add-on", |
24 | | - "plugin:@angular-eslint/template/process-inline-templates" |
| 22 | + "plugin:@angular-eslint/recommended", |
| 23 | + "prettier", |
| 24 | + "plugin:@typescript-eslint/recommended" |
25 | 25 | ], |
26 | 26 | "plugins": [ |
27 | 27 | "eslint-plugin-no-null", |
28 | 28 | "eslint-plugin-unicorn", |
| 29 | + "prettier", |
29 | 30 | "eslint-plugin-rxjs" |
30 | 31 | ], |
31 | 32 | "rules": { |
|
149 | 150 | "error", |
150 | 151 | "multi-line" |
151 | 152 | ], |
152 | | - "indent": [ |
153 | | - "error", |
154 | | - 4, |
155 | | - { |
156 | | - "SwitchCase": 1 |
157 | | - } |
158 | | - ], |
159 | | - "default-case": "off", |
160 | | - "eol-last": "off", |
161 | | - "guard-for-in": "off", |
162 | | - "import/no-default-export": "off", |
163 | | - "import/no-deprecated": "off", |
164 | | - "import/no-extraneous-dependencies": "off", |
165 | | - "import/no-internal-modules": "off", |
166 | | - "import/no-unassigned-import": "off", |
167 | | - "import/order": "off", |
168 | | - "jsdoc/no-types": "off", |
169 | | - "linebreak-style": "off", |
170 | | - "max-len": "off", |
171 | 153 | "max-lines": [ |
172 | 154 | "error", |
173 | 155 | 1000 |
174 | 156 | ], |
175 | | - "new-parens": "off", |
176 | | - "newline-per-chained-call": "off", |
177 | | - "no-cond-assign": "off", |
178 | 157 | "no-duplicate-case": "error", |
179 | 158 | "no-duplicate-imports": "error", |
180 | 159 | "no-empty": "error", |
181 | 160 | "no-extra-bind": "error", |
182 | | - "no-extra-semi": "off", |
183 | | - "no-irregular-whitespace": "off", |
184 | | - "no-magic-numbers": "off", |
185 | 161 | "no-new-func": "error", |
186 | | - "no-null/no-null": "off", |
187 | 162 | "no-plusplus": [ |
188 | 163 | "error", |
189 | 164 | { |
|
199 | 174 | "no-sequences": "error", |
200 | 175 | "no-sparse-arrays": "error", |
201 | 176 | "no-template-curly-in-string": "error", |
202 | | - "no-trailing-spaces": "off", |
203 | | - "no-useless-constructor": "off", |
204 | 177 | "no-void": "error", |
205 | | - "object-shorthand": "off", |
206 | 178 | "padding-line-between-statements": [ |
207 | 179 | "error", |
208 | 180 | { |
|
211 | 183 | "next": "return" |
212 | 184 | } |
213 | 185 | ], |
214 | | - "no-underscore-dangle": "off", |
215 | | - "prefer-const": "off", |
216 | 186 | "prefer-object-spread": "error", |
217 | | - "prefer-template": "off", |
218 | | - "quote-props": "off", |
219 | 187 | "unicorn/filename-case": [ |
220 | 188 | "error", |
221 | 189 | { |
|
230 | 198 | "rxjs/no-unsafe-switchmap": "error", |
231 | 199 | "rxjs/no-unsafe-takeuntil": "error", |
232 | 200 | "rxjs/throw-error": "error", |
233 | | - "space-before-function-paren": "off", |
234 | | - "space-in-parens": [ |
235 | | - "off", |
236 | | - "never" |
237 | | - ], |
| 201 | + "@typescript-eslint/no-explicit-any": "off", |
| 202 | + "indent": "off", |
238 | 203 | "yoda": "error" |
239 | 204 | } |
240 | 205 | }, |
|
0 commit comments