@meteorlxy/eslint-config 4.6.0 → 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 CHANGED
@@ -1365,6 +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",
1370
+ "@typescript-eslint/no-unsafe-assignment": "warn",
1371
+ "@typescript-eslint/no-unsafe-member-access": "warn",
1368
1372
  "@typescript-eslint/no-unsafe-unary-minus": "error",
1369
1373
  "@typescript-eslint/no-useless-empty-export": "off",
1370
1374
  "@typescript-eslint/no-var-requires": ["error", { allow: [] }],
@@ -1590,6 +1594,7 @@ const vueRules = {
1590
1594
  // builtin extension
1591
1595
  "vue/no-custom-modifiers-on-v-model": "off",
1592
1596
  // vue2?
1597
+ "vue/no-deprecated-delete-set": "error",
1593
1598
  "vue/no-deprecated-model-definition": "error",
1594
1599
  "vue/no-duplicate-attr-inheritance": "error",
1595
1600
  "vue/no-empty-component-block": "warn",
@@ -1609,7 +1614,6 @@ const vueRules = {
1609
1614
  "vue/no-ref-object-destructure": "off",
1610
1615
  // deprecated
1611
1616
  "vue/no-ref-object-reactivity-loss": "warn",
1612
- "vue/require-default-export": "warn",
1613
1617
  "vue/no-required-prop-with-default": ["warn", { autofix: false }],
1614
1618
  "vue/no-restricted-block": ["off"],
1615
1619
  "vue/no-restricted-call-after-await": ["off"],
@@ -1697,6 +1701,7 @@ const vueRules = {
1697
1701
  "vue/prefer-template": "error",
1698
1702
  // builtin extension
1699
1703
  "vue/prefer-true-attribute-shorthand": "off",
1704
+ "vue/require-default-export": "warn",
1700
1705
  "vue/require-direct-export": [
1701
1706
  "error",
1702
1707
  {
package/dist/index.d.cts CHANGED
@@ -1094,6 +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";
1099
+ '@typescript-eslint/no-unsafe-assignment': "warn";
1100
+ '@typescript-eslint/no-unsafe-member-access': "warn";
1097
1101
  '@typescript-eslint/no-unsafe-unary-minus': "error";
1098
1102
  '@typescript-eslint/no-useless-empty-export': "off";
1099
1103
  '@typescript-eslint/no-var-requires': ["error", {
@@ -1252,6 +1256,7 @@ declare const vueRules: {
1252
1256
  'vue/no-console': "error";
1253
1257
  'vue/no-constant-condition': "warn";
1254
1258
  'vue/no-custom-modifiers-on-v-model': "off";
1259
+ 'vue/no-deprecated-delete-set': "error";
1255
1260
  'vue/no-deprecated-model-definition': "error";
1256
1261
  'vue/no-duplicate-attr-inheritance': "error";
1257
1262
  'vue/no-empty-component-block': "warn";
@@ -1264,7 +1269,6 @@ declare const vueRules: {
1264
1269
  'vue/no-potential-component-option-typo': "off";
1265
1270
  'vue/no-ref-object-destructure': "off";
1266
1271
  'vue/no-ref-object-reactivity-loss': "warn";
1267
- 'vue/require-default-export': "warn";
1268
1272
  'vue/no-required-prop-with-default': ["warn", {
1269
1273
  autofix: boolean;
1270
1274
  }];
@@ -1324,6 +1328,7 @@ declare const vueRules: {
1324
1328
  'vue/prefer-separate-static-class': "error";
1325
1329
  'vue/prefer-template': "error";
1326
1330
  'vue/prefer-true-attribute-shorthand': "off";
1331
+ 'vue/require-default-export': "warn";
1327
1332
  'vue/require-direct-export': ["error", {
1328
1333
  disallowFunctionalComponentFunction: boolean;
1329
1334
  }];
package/dist/index.d.mts CHANGED
@@ -1094,6 +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";
1099
+ '@typescript-eslint/no-unsafe-assignment': "warn";
1100
+ '@typescript-eslint/no-unsafe-member-access': "warn";
1097
1101
  '@typescript-eslint/no-unsafe-unary-minus': "error";
1098
1102
  '@typescript-eslint/no-useless-empty-export': "off";
1099
1103
  '@typescript-eslint/no-var-requires': ["error", {
@@ -1252,6 +1256,7 @@ declare const vueRules: {
1252
1256
  'vue/no-console': "error";
1253
1257
  'vue/no-constant-condition': "warn";
1254
1258
  'vue/no-custom-modifiers-on-v-model': "off";
1259
+ 'vue/no-deprecated-delete-set': "error";
1255
1260
  'vue/no-deprecated-model-definition': "error";
1256
1261
  'vue/no-duplicate-attr-inheritance': "error";
1257
1262
  'vue/no-empty-component-block': "warn";
@@ -1264,7 +1269,6 @@ declare const vueRules: {
1264
1269
  'vue/no-potential-component-option-typo': "off";
1265
1270
  'vue/no-ref-object-destructure': "off";
1266
1271
  'vue/no-ref-object-reactivity-loss': "warn";
1267
- 'vue/require-default-export': "warn";
1268
1272
  'vue/no-required-prop-with-default': ["warn", {
1269
1273
  autofix: boolean;
1270
1274
  }];
@@ -1324,6 +1328,7 @@ declare const vueRules: {
1324
1328
  'vue/prefer-separate-static-class': "error";
1325
1329
  'vue/prefer-template': "error";
1326
1330
  'vue/prefer-true-attribute-shorthand': "off";
1331
+ 'vue/require-default-export': "warn";
1327
1332
  'vue/require-direct-export': ["error", {
1328
1333
  disallowFunctionalComponentFunction: boolean;
1329
1334
  }];
package/dist/index.d.ts CHANGED
@@ -1094,6 +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";
1099
+ '@typescript-eslint/no-unsafe-assignment': "warn";
1100
+ '@typescript-eslint/no-unsafe-member-access': "warn";
1097
1101
  '@typescript-eslint/no-unsafe-unary-minus': "error";
1098
1102
  '@typescript-eslint/no-useless-empty-export': "off";
1099
1103
  '@typescript-eslint/no-var-requires': ["error", {
@@ -1252,6 +1256,7 @@ declare const vueRules: {
1252
1256
  'vue/no-console': "error";
1253
1257
  'vue/no-constant-condition': "warn";
1254
1258
  'vue/no-custom-modifiers-on-v-model': "off";
1259
+ 'vue/no-deprecated-delete-set': "error";
1255
1260
  'vue/no-deprecated-model-definition': "error";
1256
1261
  'vue/no-duplicate-attr-inheritance': "error";
1257
1262
  'vue/no-empty-component-block': "warn";
@@ -1264,7 +1269,6 @@ declare const vueRules: {
1264
1269
  'vue/no-potential-component-option-typo': "off";
1265
1270
  'vue/no-ref-object-destructure': "off";
1266
1271
  'vue/no-ref-object-reactivity-loss': "warn";
1267
- 'vue/require-default-export': "warn";
1268
1272
  'vue/no-required-prop-with-default': ["warn", {
1269
1273
  autofix: boolean;
1270
1274
  }];
@@ -1324,6 +1328,7 @@ declare const vueRules: {
1324
1328
  'vue/prefer-separate-static-class': "error";
1325
1329
  'vue/prefer-template': "error";
1326
1330
  'vue/prefer-true-attribute-shorthand': "off";
1331
+ 'vue/require-default-export': "warn";
1327
1332
  'vue/require-direct-export': ["error", {
1328
1333
  disallowFunctionalComponentFunction: boolean;
1329
1334
  }];
package/dist/index.mjs CHANGED
@@ -1353,6 +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",
1358
+ "@typescript-eslint/no-unsafe-assignment": "warn",
1359
+ "@typescript-eslint/no-unsafe-member-access": "warn",
1356
1360
  "@typescript-eslint/no-unsafe-unary-minus": "error",
1357
1361
  "@typescript-eslint/no-useless-empty-export": "off",
1358
1362
  "@typescript-eslint/no-var-requires": ["error", { allow: [] }],
@@ -1578,6 +1582,7 @@ const vueRules = {
1578
1582
  // builtin extension
1579
1583
  "vue/no-custom-modifiers-on-v-model": "off",
1580
1584
  // vue2?
1585
+ "vue/no-deprecated-delete-set": "error",
1581
1586
  "vue/no-deprecated-model-definition": "error",
1582
1587
  "vue/no-duplicate-attr-inheritance": "error",
1583
1588
  "vue/no-empty-component-block": "warn",
@@ -1597,7 +1602,6 @@ const vueRules = {
1597
1602
  "vue/no-ref-object-destructure": "off",
1598
1603
  // deprecated
1599
1604
  "vue/no-ref-object-reactivity-loss": "warn",
1600
- "vue/require-default-export": "warn",
1601
1605
  "vue/no-required-prop-with-default": ["warn", { autofix: false }],
1602
1606
  "vue/no-restricted-block": ["off"],
1603
1607
  "vue/no-restricted-call-after-await": ["off"],
@@ -1685,6 +1689,7 @@ const vueRules = {
1685
1689
  "vue/prefer-template": "error",
1686
1690
  // builtin extension
1687
1691
  "vue/prefer-true-attribute-shorthand": "off",
1692
+ "vue/require-default-export": "warn",
1688
1693
  "vue/require-direct-export": [
1689
1694
  "error",
1690
1695
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meteorlxy/eslint-config",
3
- "version": "4.6.0",
3
+ "version": "4.7.0",
4
4
  "description": "meteorlxy eslint config",
5
5
  "keywords": [
6
6
  "config",
@@ -32,24 +32,24 @@
32
32
  "clean": "rimraf ./dist"
33
33
  },
34
34
  "dependencies": {
35
- "@typescript-eslint/eslint-plugin": "^8.7.0",
36
- "@typescript-eslint/parser": "^8.7.0",
37
- "@typescript-eslint/utils": "^8.7.0",
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",
41
- "eslint-plugin-import-x": "^4.3.0",
41
+ "eslint-plugin-import-x": "^4.3.1",
42
42
  "eslint-plugin-markdown": "^5.1.0",
43
- "globals": "^15.9.0"
43
+ "globals": "^15.11.0"
44
44
  },
45
45
  "devDependencies": {
46
46
  "@types/confusing-browser-globals": "^1.0.3",
47
47
  "@types/eslint": "^9.6.1",
48
- "eslint": "^9.11.1",
49
- "eslint-plugin-react": "^7.36.1",
50
- "eslint-plugin-react-hooks": "^5.1.0-rc-a99d8e8d-20240916",
48
+ "eslint": "^9.12.0",
49
+ "eslint-plugin-react": "^7.37.1",
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.28.0",
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": "3434389df7c303ea7136de00ab8cb617006eadc0"
82
+ "gitHead": "86d2520d4eb82e8513163ba39c804c3fd48cdd36"
83
83
  }