@rebeccastevens/eslint-config 2.0.4 → 2.0.6
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/dist/typescript.cjs +7 -1
- package/dist/typescript.mjs +7 -1
- package/package.json +1 -1
package/dist/typescript.cjs
CHANGED
|
@@ -384,7 +384,12 @@ const settings = {
|
|
|
384
384
|
ignoreStatic: true,
|
|
385
385
|
},
|
|
386
386
|
],
|
|
387
|
-
"@typescript-eslint/unified-signatures":
|
|
387
|
+
"@typescript-eslint/unified-signatures": [
|
|
388
|
+
"error",
|
|
389
|
+
{
|
|
390
|
+
ignoreDifferentlyNamedParameters: true,
|
|
391
|
+
},
|
|
392
|
+
],
|
|
388
393
|
"@typescript-eslint/no-redeclare": "error",
|
|
389
394
|
},
|
|
390
395
|
overrides: [
|
|
@@ -416,6 +421,7 @@ const baseConfig = {
|
|
|
416
421
|
"no-unused-vars": "off",
|
|
417
422
|
"no-use-before-define": "off",
|
|
418
423
|
"object-curly-spacing": "off",
|
|
424
|
+
"prefer-destructuring": "off",
|
|
419
425
|
"space-infix-ops": "off",
|
|
420
426
|
},
|
|
421
427
|
settings: {
|
package/dist/typescript.mjs
CHANGED
|
@@ -382,7 +382,12 @@ const settings = {
|
|
|
382
382
|
ignoreStatic: true,
|
|
383
383
|
},
|
|
384
384
|
],
|
|
385
|
-
"@typescript-eslint/unified-signatures":
|
|
385
|
+
"@typescript-eslint/unified-signatures": [
|
|
386
|
+
"error",
|
|
387
|
+
{
|
|
388
|
+
ignoreDifferentlyNamedParameters: true,
|
|
389
|
+
},
|
|
390
|
+
],
|
|
386
391
|
"@typescript-eslint/no-redeclare": "error",
|
|
387
392
|
},
|
|
388
393
|
overrides: [
|
|
@@ -414,6 +419,7 @@ const baseConfig = {
|
|
|
414
419
|
"no-unused-vars": "off",
|
|
415
420
|
"no-use-before-define": "off",
|
|
416
421
|
"object-curly-spacing": "off",
|
|
422
|
+
"prefer-destructuring": "off",
|
|
417
423
|
"space-infix-ops": "off",
|
|
418
424
|
},
|
|
419
425
|
settings: {
|