@enigmatry/eslint-config 18.0.0-preview.5 → 18.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +41 -0
- package/package.json +3 -4
package/index.js
CHANGED
|
@@ -189,6 +189,17 @@ module.exports = {
|
|
|
189
189
|
"@stylistic/wrap-regex": "off",
|
|
190
190
|
"@stylistic/yield-star-spacing": "error",
|
|
191
191
|
"@typescript-eslint/ban-ts-comments": "off",
|
|
192
|
+
"@typescript-eslint/ban-types": "error",
|
|
193
|
+
"@typescript-eslint/brace-style": [
|
|
194
|
+
"error"
|
|
195
|
+
],
|
|
196
|
+
"@typescript-eslint/comma-dangle": [
|
|
197
|
+
"error",
|
|
198
|
+
"never"
|
|
199
|
+
],
|
|
200
|
+
"@typescript-eslint/comma-spacing": [
|
|
201
|
+
"error"
|
|
202
|
+
],
|
|
192
203
|
"@typescript-eslint/consistent-type-definitions": "error",
|
|
193
204
|
"@typescript-eslint/consistent-type-exports": [
|
|
194
205
|
"error",
|
|
@@ -205,6 +216,9 @@ module.exports = {
|
|
|
205
216
|
"@typescript-eslint/dot-notation": [
|
|
206
217
|
"error"
|
|
207
218
|
],
|
|
219
|
+
"@typescript-eslint/func-call-spacing": [
|
|
220
|
+
"error"
|
|
221
|
+
],
|
|
208
222
|
"@typescript-eslint/indent": [
|
|
209
223
|
"off",
|
|
210
224
|
"tab"
|
|
@@ -212,6 +226,9 @@ module.exports = {
|
|
|
212
226
|
"@typescript-eslint/init-declarations": [
|
|
213
227
|
"off"
|
|
214
228
|
],
|
|
229
|
+
"@typescript-eslint/keyword-spacing": [
|
|
230
|
+
"error"
|
|
231
|
+
],
|
|
215
232
|
"@typescript-eslint/naming-convention": "off",
|
|
216
233
|
"@typescript-eslint/no-array-constructor": [
|
|
217
234
|
"error"
|
|
@@ -275,6 +292,9 @@ module.exports = {
|
|
|
275
292
|
"@typescript-eslint/no-shadow": [
|
|
276
293
|
"error"
|
|
277
294
|
],
|
|
295
|
+
"@typescript-eslint/no-throw-literal": [
|
|
296
|
+
"error"
|
|
297
|
+
],
|
|
278
298
|
"@typescript-eslint/no-unsafe-declaration-merging": [
|
|
279
299
|
"error"
|
|
280
300
|
],
|
|
@@ -295,10 +315,21 @@ module.exports = {
|
|
|
295
315
|
"@typescript-eslint/no-useless-constructor": [
|
|
296
316
|
"error"
|
|
297
317
|
],
|
|
318
|
+
"@typescript-eslint/object-curly-spacing": [
|
|
319
|
+
"error",
|
|
320
|
+
"always"
|
|
321
|
+
],
|
|
298
322
|
"@typescript-eslint/parameter-properties": "off",
|
|
299
323
|
"@typescript-eslint/prefer-optional-chain": "error",
|
|
300
324
|
"@typescript-eslint/prefer-readonly": "off",
|
|
301
325
|
"@typescript-eslint/prefer-readonly-parameter-types": "off",
|
|
326
|
+
"@typescript-eslint/quotes": [
|
|
327
|
+
"error",
|
|
328
|
+
"single",
|
|
329
|
+
{
|
|
330
|
+
"allowTemplateLiterals": true
|
|
331
|
+
}
|
|
332
|
+
],
|
|
302
333
|
"@typescript-eslint/require-await": [
|
|
303
334
|
"error"
|
|
304
335
|
],
|
|
@@ -306,6 +337,16 @@ module.exports = {
|
|
|
306
337
|
"@typescript-eslint/return-await": [
|
|
307
338
|
"error"
|
|
308
339
|
],
|
|
340
|
+
"@typescript-eslint/semi": [
|
|
341
|
+
"error"
|
|
342
|
+
],
|
|
343
|
+
"@typescript-eslint/space-before-function-paren": [
|
|
344
|
+
"error",
|
|
345
|
+
"never"
|
|
346
|
+
],
|
|
347
|
+
"@typescript-eslint/space-infix-ops": [
|
|
348
|
+
"error"
|
|
349
|
+
],
|
|
309
350
|
"array-callback-return": "error",
|
|
310
351
|
"arrow-body-style": "off",
|
|
311
352
|
"block-scoped-var": "error",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@enigmatry/eslint-config",
|
|
3
|
-
"version": "18.0.0
|
|
3
|
+
"version": "18.0.0",
|
|
4
4
|
"author": "Enigmatry",
|
|
5
5
|
"description": "ESLint shareable config for the Enigmatry style.",
|
|
6
6
|
"homepage": "https://github.com/enigmatry/entry-angular-building-blocks/tree/master/libs/eslint-config#readme",
|
|
@@ -13,8 +13,6 @@
|
|
|
13
13
|
"index.js"
|
|
14
14
|
],
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@typescript-eslint/eslint-plugin": "^8.16.0",
|
|
17
|
-
"@typescript-eslint/parser": "^8.16.0",
|
|
18
16
|
"@stylistic/eslint-plugin": "^2.11.0",
|
|
19
17
|
"eslint-plugin-deprecation": "^3.0.0",
|
|
20
18
|
"eslint-plugin-import": "^2.29.0",
|
|
@@ -29,7 +27,8 @@
|
|
|
29
27
|
"@angular-eslint/eslint-plugin": "^18.4.2",
|
|
30
28
|
"@angular-eslint/eslint-plugin-template": "^18.4.2",
|
|
31
29
|
"@angular-eslint/schematics": "^18.4.2",
|
|
32
|
-
"@angular-eslint/template-parser": "^18.4.2"
|
|
30
|
+
"@angular-eslint/template-parser": "^18.4.2",
|
|
31
|
+
"typescript-eslint": "^7.18.0"
|
|
33
32
|
},
|
|
34
33
|
"peerDependencies": {
|
|
35
34
|
"eslint": "^8.57.0"
|