@ethang/eslint-config 16.0.10 → 16.0.12
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 +1 -3
- package/package.json +1 -1
package/eslint.config.js
CHANGED
|
@@ -306,7 +306,6 @@ export default tseslint.config(
|
|
|
306
306
|
yoda: ["error", "always"],
|
|
307
307
|
// eslint overloads
|
|
308
308
|
|
|
309
|
-
"class-methods-use-this": "off", // Handled by tseslint
|
|
310
309
|
"default-param-last": "off", // Handled by tseslint
|
|
311
310
|
"dot-notation": "off", // Handled by tseslint
|
|
312
311
|
"max-params": "off", // Handled by tseslint
|
|
@@ -351,11 +350,10 @@ export default tseslint.config(
|
|
|
351
350
|
"@typescript-eslint/ban-tslint-comment": "error",
|
|
352
351
|
"@typescript-eslint/ban-types": "error",
|
|
353
352
|
"@typescript-eslint/class-literal-property-style": "error",
|
|
354
|
-
"@typescript-eslint/class-methods-use-this": "error",
|
|
355
353
|
"@typescript-eslint/consistent-generic-constructors": "error",
|
|
356
354
|
"@typescript-eslint/consistent-indexed-object-style": "error",
|
|
357
355
|
"@typescript-eslint/consistent-type-assertions": "error",
|
|
358
|
-
"@typescript-eslint/consistent-type-definitions": "error",
|
|
356
|
+
"@typescript-eslint/consistent-type-definitions": ["error", "type"],
|
|
359
357
|
"@typescript-eslint/consistent-type-exports": "error",
|
|
360
358
|
"@typescript-eslint/consistent-type-imports": "error",
|
|
361
359
|
"@typescript-eslint/default-param-last": "error",
|