@ethang/eslint-config 16.0.11 → 16.0.13
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/eslint.config.js +2 -2
- package/package.json +1 -1
package/eslint.config.js
CHANGED
|
@@ -353,7 +353,7 @@ export default tseslint.config(
|
|
|
353
353
|
"@typescript-eslint/consistent-generic-constructors": "error",
|
|
354
354
|
"@typescript-eslint/consistent-indexed-object-style": "error",
|
|
355
355
|
"@typescript-eslint/consistent-type-assertions": "error",
|
|
356
|
-
"@typescript-eslint/consistent-type-definitions": "error",
|
|
356
|
+
"@typescript-eslint/consistent-type-definitions": ["error", "type"],
|
|
357
357
|
"@typescript-eslint/consistent-type-exports": "error",
|
|
358
358
|
"@typescript-eslint/consistent-type-imports": "error",
|
|
359
359
|
"@typescript-eslint/default-param-last": "error",
|
|
@@ -442,7 +442,7 @@ export default tseslint.config(
|
|
|
442
442
|
"@typescript-eslint/prefer-optional-chain": "error",
|
|
443
443
|
"@typescript-eslint/prefer-promise-reject-errors": "error",
|
|
444
444
|
"@typescript-eslint/prefer-readonly": "error",
|
|
445
|
-
"@typescript-eslint/prefer-readonly-parameter-types": "
|
|
445
|
+
"@typescript-eslint/prefer-readonly-parameter-types": "warn",
|
|
446
446
|
"@typescript-eslint/prefer-reduce-type-parameter": "error",
|
|
447
447
|
"@typescript-eslint/prefer-regexp-exec": "error",
|
|
448
448
|
"@typescript-eslint/prefer-return-this-type": "error",
|