@rotki/eslint-config 2.4.3 → 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 +3 -1
- package/dist/index.js +3 -1
- 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",
|
|
@@ -1743,7 +1745,7 @@ async function vue(options = {}) {
|
|
|
1743
1745
|
],
|
|
1744
1746
|
"vue/component-options-name-casing": ["error", "PascalCase"],
|
|
1745
1747
|
"vue/custom-event-name-casing": ["error", "kebab-case", {
|
|
1746
|
-
ignores: [/^[a-z]+(?:-[a-z]+)*:[a-z]+(?:-[a-z]+)*$/u]
|
|
1748
|
+
ignores: ["/^[a-z]+(?:-[a-z]+)*:[a-z]+(?:-[a-z]+)*$/u"]
|
|
1747
1749
|
}],
|
|
1748
1750
|
"vue/define-macros-order": ["error", {
|
|
1749
1751
|
order: ["defineOptions", "defineProps", "defineEmits", "defineSlots"]
|
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",
|
|
@@ -1650,7 +1652,7 @@ async function vue(options = {}) {
|
|
|
1650
1652
|
],
|
|
1651
1653
|
"vue/component-options-name-casing": ["error", "PascalCase"],
|
|
1652
1654
|
"vue/custom-event-name-casing": ["error", "kebab-case", {
|
|
1653
|
-
ignores: [/^[a-z]+(?:-[a-z]+)*:[a-z]+(?:-[a-z]+)*$/u]
|
|
1655
|
+
ignores: ["/^[a-z]+(?:-[a-z]+)*:[a-z]+(?:-[a-z]+)*$/u"]
|
|
1654
1656
|
}],
|
|
1655
1657
|
"vue/define-macros-order": ["error", {
|
|
1656
1658
|
order: ["defineOptions", "defineProps", "defineEmits", "defineSlots"]
|