@meteorlxy/eslint-config 4.6.1 → 4.7.0
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 +5 -1
- package/dist/index.d.cts +5 -1
- package/dist/index.d.mts +5 -1
- package/dist/index.d.ts +5 -1
- package/dist/index.mjs +5 -1
- package/package.json +6 -6
package/dist/index.cjs
CHANGED
|
@@ -1365,7 +1365,10 @@ const typescriptRules = {
|
|
|
1365
1365
|
// deprecated
|
|
1366
1366
|
"@typescript-eslint/no-unnecessary-parameter-property-assignment": "error",
|
|
1367
1367
|
"@typescript-eslint/no-unnecessary-qualifier": "off",
|
|
1368
|
+
"@typescript-eslint/no-unnecessary-type-assertion": "warn",
|
|
1369
|
+
"@typescript-eslint/no-unsafe-argument": "warn",
|
|
1368
1370
|
"@typescript-eslint/no-unsafe-assignment": "warn",
|
|
1371
|
+
"@typescript-eslint/no-unsafe-member-access": "warn",
|
|
1369
1372
|
"@typescript-eslint/no-unsafe-unary-minus": "error",
|
|
1370
1373
|
"@typescript-eslint/no-useless-empty-export": "off",
|
|
1371
1374
|
"@typescript-eslint/no-var-requires": ["error", { allow: [] }],
|
|
@@ -1591,6 +1594,7 @@ const vueRules = {
|
|
|
1591
1594
|
// builtin extension
|
|
1592
1595
|
"vue/no-custom-modifiers-on-v-model": "off",
|
|
1593
1596
|
// vue2?
|
|
1597
|
+
"vue/no-deprecated-delete-set": "error",
|
|
1594
1598
|
"vue/no-deprecated-model-definition": "error",
|
|
1595
1599
|
"vue/no-duplicate-attr-inheritance": "error",
|
|
1596
1600
|
"vue/no-empty-component-block": "warn",
|
|
@@ -1610,7 +1614,6 @@ const vueRules = {
|
|
|
1610
1614
|
"vue/no-ref-object-destructure": "off",
|
|
1611
1615
|
// deprecated
|
|
1612
1616
|
"vue/no-ref-object-reactivity-loss": "warn",
|
|
1613
|
-
"vue/require-default-export": "warn",
|
|
1614
1617
|
"vue/no-required-prop-with-default": ["warn", { autofix: false }],
|
|
1615
1618
|
"vue/no-restricted-block": ["off"],
|
|
1616
1619
|
"vue/no-restricted-call-after-await": ["off"],
|
|
@@ -1698,6 +1701,7 @@ const vueRules = {
|
|
|
1698
1701
|
"vue/prefer-template": "error",
|
|
1699
1702
|
// builtin extension
|
|
1700
1703
|
"vue/prefer-true-attribute-shorthand": "off",
|
|
1704
|
+
"vue/require-default-export": "warn",
|
|
1701
1705
|
"vue/require-direct-export": [
|
|
1702
1706
|
"error",
|
|
1703
1707
|
{
|
package/dist/index.d.cts
CHANGED
|
@@ -1094,7 +1094,10 @@ declare const typescriptRules: {
|
|
|
1094
1094
|
'@typescript-eslint/no-type-alias': "off";
|
|
1095
1095
|
'@typescript-eslint/no-unnecessary-parameter-property-assignment': "error";
|
|
1096
1096
|
'@typescript-eslint/no-unnecessary-qualifier': "off";
|
|
1097
|
+
'@typescript-eslint/no-unnecessary-type-assertion': "warn";
|
|
1098
|
+
'@typescript-eslint/no-unsafe-argument': "warn";
|
|
1097
1099
|
'@typescript-eslint/no-unsafe-assignment': "warn";
|
|
1100
|
+
'@typescript-eslint/no-unsafe-member-access': "warn";
|
|
1098
1101
|
'@typescript-eslint/no-unsafe-unary-minus': "error";
|
|
1099
1102
|
'@typescript-eslint/no-useless-empty-export': "off";
|
|
1100
1103
|
'@typescript-eslint/no-var-requires': ["error", {
|
|
@@ -1253,6 +1256,7 @@ declare const vueRules: {
|
|
|
1253
1256
|
'vue/no-console': "error";
|
|
1254
1257
|
'vue/no-constant-condition': "warn";
|
|
1255
1258
|
'vue/no-custom-modifiers-on-v-model': "off";
|
|
1259
|
+
'vue/no-deprecated-delete-set': "error";
|
|
1256
1260
|
'vue/no-deprecated-model-definition': "error";
|
|
1257
1261
|
'vue/no-duplicate-attr-inheritance': "error";
|
|
1258
1262
|
'vue/no-empty-component-block': "warn";
|
|
@@ -1265,7 +1269,6 @@ declare const vueRules: {
|
|
|
1265
1269
|
'vue/no-potential-component-option-typo': "off";
|
|
1266
1270
|
'vue/no-ref-object-destructure': "off";
|
|
1267
1271
|
'vue/no-ref-object-reactivity-loss': "warn";
|
|
1268
|
-
'vue/require-default-export': "warn";
|
|
1269
1272
|
'vue/no-required-prop-with-default': ["warn", {
|
|
1270
1273
|
autofix: boolean;
|
|
1271
1274
|
}];
|
|
@@ -1325,6 +1328,7 @@ declare const vueRules: {
|
|
|
1325
1328
|
'vue/prefer-separate-static-class': "error";
|
|
1326
1329
|
'vue/prefer-template': "error";
|
|
1327
1330
|
'vue/prefer-true-attribute-shorthand': "off";
|
|
1331
|
+
'vue/require-default-export': "warn";
|
|
1328
1332
|
'vue/require-direct-export': ["error", {
|
|
1329
1333
|
disallowFunctionalComponentFunction: boolean;
|
|
1330
1334
|
}];
|
package/dist/index.d.mts
CHANGED
|
@@ -1094,7 +1094,10 @@ declare const typescriptRules: {
|
|
|
1094
1094
|
'@typescript-eslint/no-type-alias': "off";
|
|
1095
1095
|
'@typescript-eslint/no-unnecessary-parameter-property-assignment': "error";
|
|
1096
1096
|
'@typescript-eslint/no-unnecessary-qualifier': "off";
|
|
1097
|
+
'@typescript-eslint/no-unnecessary-type-assertion': "warn";
|
|
1098
|
+
'@typescript-eslint/no-unsafe-argument': "warn";
|
|
1097
1099
|
'@typescript-eslint/no-unsafe-assignment': "warn";
|
|
1100
|
+
'@typescript-eslint/no-unsafe-member-access': "warn";
|
|
1098
1101
|
'@typescript-eslint/no-unsafe-unary-minus': "error";
|
|
1099
1102
|
'@typescript-eslint/no-useless-empty-export': "off";
|
|
1100
1103
|
'@typescript-eslint/no-var-requires': ["error", {
|
|
@@ -1253,6 +1256,7 @@ declare const vueRules: {
|
|
|
1253
1256
|
'vue/no-console': "error";
|
|
1254
1257
|
'vue/no-constant-condition': "warn";
|
|
1255
1258
|
'vue/no-custom-modifiers-on-v-model': "off";
|
|
1259
|
+
'vue/no-deprecated-delete-set': "error";
|
|
1256
1260
|
'vue/no-deprecated-model-definition': "error";
|
|
1257
1261
|
'vue/no-duplicate-attr-inheritance': "error";
|
|
1258
1262
|
'vue/no-empty-component-block': "warn";
|
|
@@ -1265,7 +1269,6 @@ declare const vueRules: {
|
|
|
1265
1269
|
'vue/no-potential-component-option-typo': "off";
|
|
1266
1270
|
'vue/no-ref-object-destructure': "off";
|
|
1267
1271
|
'vue/no-ref-object-reactivity-loss': "warn";
|
|
1268
|
-
'vue/require-default-export': "warn";
|
|
1269
1272
|
'vue/no-required-prop-with-default': ["warn", {
|
|
1270
1273
|
autofix: boolean;
|
|
1271
1274
|
}];
|
|
@@ -1325,6 +1328,7 @@ declare const vueRules: {
|
|
|
1325
1328
|
'vue/prefer-separate-static-class': "error";
|
|
1326
1329
|
'vue/prefer-template': "error";
|
|
1327
1330
|
'vue/prefer-true-attribute-shorthand': "off";
|
|
1331
|
+
'vue/require-default-export': "warn";
|
|
1328
1332
|
'vue/require-direct-export': ["error", {
|
|
1329
1333
|
disallowFunctionalComponentFunction: boolean;
|
|
1330
1334
|
}];
|
package/dist/index.d.ts
CHANGED
|
@@ -1094,7 +1094,10 @@ declare const typescriptRules: {
|
|
|
1094
1094
|
'@typescript-eslint/no-type-alias': "off";
|
|
1095
1095
|
'@typescript-eslint/no-unnecessary-parameter-property-assignment': "error";
|
|
1096
1096
|
'@typescript-eslint/no-unnecessary-qualifier': "off";
|
|
1097
|
+
'@typescript-eslint/no-unnecessary-type-assertion': "warn";
|
|
1098
|
+
'@typescript-eslint/no-unsafe-argument': "warn";
|
|
1097
1099
|
'@typescript-eslint/no-unsafe-assignment': "warn";
|
|
1100
|
+
'@typescript-eslint/no-unsafe-member-access': "warn";
|
|
1098
1101
|
'@typescript-eslint/no-unsafe-unary-minus': "error";
|
|
1099
1102
|
'@typescript-eslint/no-useless-empty-export': "off";
|
|
1100
1103
|
'@typescript-eslint/no-var-requires': ["error", {
|
|
@@ -1253,6 +1256,7 @@ declare const vueRules: {
|
|
|
1253
1256
|
'vue/no-console': "error";
|
|
1254
1257
|
'vue/no-constant-condition': "warn";
|
|
1255
1258
|
'vue/no-custom-modifiers-on-v-model': "off";
|
|
1259
|
+
'vue/no-deprecated-delete-set': "error";
|
|
1256
1260
|
'vue/no-deprecated-model-definition': "error";
|
|
1257
1261
|
'vue/no-duplicate-attr-inheritance': "error";
|
|
1258
1262
|
'vue/no-empty-component-block': "warn";
|
|
@@ -1265,7 +1269,6 @@ declare const vueRules: {
|
|
|
1265
1269
|
'vue/no-potential-component-option-typo': "off";
|
|
1266
1270
|
'vue/no-ref-object-destructure': "off";
|
|
1267
1271
|
'vue/no-ref-object-reactivity-loss': "warn";
|
|
1268
|
-
'vue/require-default-export': "warn";
|
|
1269
1272
|
'vue/no-required-prop-with-default': ["warn", {
|
|
1270
1273
|
autofix: boolean;
|
|
1271
1274
|
}];
|
|
@@ -1325,6 +1328,7 @@ declare const vueRules: {
|
|
|
1325
1328
|
'vue/prefer-separate-static-class': "error";
|
|
1326
1329
|
'vue/prefer-template': "error";
|
|
1327
1330
|
'vue/prefer-true-attribute-shorthand': "off";
|
|
1331
|
+
'vue/require-default-export': "warn";
|
|
1328
1332
|
'vue/require-direct-export': ["error", {
|
|
1329
1333
|
disallowFunctionalComponentFunction: boolean;
|
|
1330
1334
|
}];
|
package/dist/index.mjs
CHANGED
|
@@ -1353,7 +1353,10 @@ const typescriptRules = {
|
|
|
1353
1353
|
// deprecated
|
|
1354
1354
|
"@typescript-eslint/no-unnecessary-parameter-property-assignment": "error",
|
|
1355
1355
|
"@typescript-eslint/no-unnecessary-qualifier": "off",
|
|
1356
|
+
"@typescript-eslint/no-unnecessary-type-assertion": "warn",
|
|
1357
|
+
"@typescript-eslint/no-unsafe-argument": "warn",
|
|
1356
1358
|
"@typescript-eslint/no-unsafe-assignment": "warn",
|
|
1359
|
+
"@typescript-eslint/no-unsafe-member-access": "warn",
|
|
1357
1360
|
"@typescript-eslint/no-unsafe-unary-minus": "error",
|
|
1358
1361
|
"@typescript-eslint/no-useless-empty-export": "off",
|
|
1359
1362
|
"@typescript-eslint/no-var-requires": ["error", { allow: [] }],
|
|
@@ -1579,6 +1582,7 @@ const vueRules = {
|
|
|
1579
1582
|
// builtin extension
|
|
1580
1583
|
"vue/no-custom-modifiers-on-v-model": "off",
|
|
1581
1584
|
// vue2?
|
|
1585
|
+
"vue/no-deprecated-delete-set": "error",
|
|
1582
1586
|
"vue/no-deprecated-model-definition": "error",
|
|
1583
1587
|
"vue/no-duplicate-attr-inheritance": "error",
|
|
1584
1588
|
"vue/no-empty-component-block": "warn",
|
|
@@ -1598,7 +1602,6 @@ const vueRules = {
|
|
|
1598
1602
|
"vue/no-ref-object-destructure": "off",
|
|
1599
1603
|
// deprecated
|
|
1600
1604
|
"vue/no-ref-object-reactivity-loss": "warn",
|
|
1601
|
-
"vue/require-default-export": "warn",
|
|
1602
1605
|
"vue/no-required-prop-with-default": ["warn", { autofix: false }],
|
|
1603
1606
|
"vue/no-restricted-block": ["off"],
|
|
1604
1607
|
"vue/no-restricted-call-after-await": ["off"],
|
|
@@ -1686,6 +1689,7 @@ const vueRules = {
|
|
|
1686
1689
|
"vue/prefer-template": "error",
|
|
1687
1690
|
// builtin extension
|
|
1688
1691
|
"vue/prefer-true-attribute-shorthand": "off",
|
|
1692
|
+
"vue/require-default-export": "warn",
|
|
1689
1693
|
"vue/require-direct-export": [
|
|
1690
1694
|
"error",
|
|
1691
1695
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@meteorlxy/eslint-config",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.7.0",
|
|
4
4
|
"description": "meteorlxy eslint config",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"config",
|
|
@@ -32,9 +32,9 @@
|
|
|
32
32
|
"clean": "rimraf ./dist"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
36
|
-
"@typescript-eslint/parser": "^8.
|
|
37
|
-
"@typescript-eslint/utils": "^8.
|
|
35
|
+
"@typescript-eslint/eslint-plugin": "^8.9.0",
|
|
36
|
+
"@typescript-eslint/parser": "^8.9.0",
|
|
37
|
+
"@typescript-eslint/utils": "^8.9.0",
|
|
38
38
|
"confusing-browser-globals": "^1.0.11",
|
|
39
39
|
"eslint-config-prettier": "^9.1.0",
|
|
40
40
|
"eslint-plugin-eslint-comments": "^3.2.0",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"eslint-plugin-react": "^7.37.1",
|
|
50
50
|
"eslint-plugin-react-hooks": "^5.1.0-rc-f9ebd85a-20240925",
|
|
51
51
|
"eslint-plugin-react-refresh": "^0.4.12",
|
|
52
|
-
"eslint-plugin-vue": "^9.
|
|
52
|
+
"eslint-plugin-vue": "^9.29.0",
|
|
53
53
|
"vue-eslint-parser": "^9.4.3"
|
|
54
54
|
},
|
|
55
55
|
"peerDependencies": {
|
|
@@ -79,5 +79,5 @@
|
|
|
79
79
|
"publishConfig": {
|
|
80
80
|
"access": "public"
|
|
81
81
|
},
|
|
82
|
-
"gitHead": "
|
|
82
|
+
"gitHead": "86d2520d4eb82e8513163ba39c804c3fd48cdd36"
|
|
83
83
|
}
|