@rotki/eslint-config 2.4.4 → 2.4.5
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/index.cjs +2 -0
- package/dist/index.js +2 -0
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1453,6 +1453,8 @@ async function typescript(options = {}) {
|
|
|
1453
1453
|
"@typescript-eslint/ban-types": ["error", { types: { Function: false } }],
|
|
1454
1454
|
"@typescript-eslint/consistent-type-definitions": ["error", "interface"],
|
|
1455
1455
|
"@typescript-eslint/consistent-type-imports": ["error", { disallowTypeAnnotations: false, fixStyle: "inline-type-imports", prefer: "type-imports" }],
|
|
1456
|
+
"@typescript-eslint/method-signature-style": ["error", "property"],
|
|
1457
|
+
// https://www.totaltypescript.com/method-shorthand-syntax-considered-harmful
|
|
1456
1458
|
"@typescript-eslint/no-dupe-class-members": "error",
|
|
1457
1459
|
"@typescript-eslint/no-dynamic-delete": "off",
|
|
1458
1460
|
"@typescript-eslint/no-explicit-any": "off",
|
package/dist/index.js
CHANGED
|
@@ -1360,6 +1360,8 @@ async function typescript(options = {}) {
|
|
|
1360
1360
|
"@typescript-eslint/ban-types": ["error", { types: { Function: false } }],
|
|
1361
1361
|
"@typescript-eslint/consistent-type-definitions": ["error", "interface"],
|
|
1362
1362
|
"@typescript-eslint/consistent-type-imports": ["error", { disallowTypeAnnotations: false, fixStyle: "inline-type-imports", prefer: "type-imports" }],
|
|
1363
|
+
"@typescript-eslint/method-signature-style": ["error", "property"],
|
|
1364
|
+
// https://www.totaltypescript.com/method-shorthand-syntax-considered-harmful
|
|
1363
1365
|
"@typescript-eslint/no-dupe-class-members": "error",
|
|
1364
1366
|
"@typescript-eslint/no-dynamic-delete": "off",
|
|
1365
1367
|
"@typescript-eslint/no-explicit-any": "off",
|