@meteorlxy/eslint-config 6.9.0 → 6.10.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.
@@ -1,6 +1,6 @@
1
- //#region rolldown:runtime
1
+ //#region \0rolldown/runtime.js
2
2
  var __defProp = Object.defineProperty;
3
- var __exportAll = (all, symbols) => {
3
+ var __exportAll = (all, no_symbols) => {
4
4
  let target = {};
5
5
  for (var name in all) {
6
6
  __defProp(target, name, {
@@ -8,7 +8,7 @@ var __exportAll = (all, symbols) => {
8
8
  enumerable: true
9
9
  });
10
10
  }
11
- if (symbols) {
11
+ if (!no_symbols) {
12
12
  __defProp(target, Symbol.toStringTag, { value: "Module" });
13
13
  }
14
14
  return target;
package/dist/index.cjs CHANGED
@@ -1,11 +1,12 @@
1
- //#region rolldown:runtime
1
+ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
+ //#region \0rolldown/runtime.js
2
3
  var __create = Object.create;
3
4
  var __defProp = Object.defineProperty;
4
5
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
6
  var __getOwnPropNames = Object.getOwnPropertyNames;
6
7
  var __getProtoOf = Object.getPrototypeOf;
7
8
  var __hasOwnProp = Object.prototype.hasOwnProperty;
8
- var __exportAll = (all, symbols) => {
9
+ var __exportAll = (all, no_symbols) => {
9
10
  let target = {};
10
11
  for (var name in all) {
11
12
  __defProp(target, name, {
@@ -13,7 +14,7 @@ var __exportAll = (all, symbols) => {
13
14
  enumerable: true
14
15
  });
15
16
  }
16
- if (symbols) {
17
+ if (!no_symbols) {
17
18
  __defProp(target, Symbol.toStringTag, { value: "Module" });
18
19
  }
19
20
  return target;
@@ -1393,7 +1394,7 @@ const typescriptRules = {
1393
1394
  allowAny: false,
1394
1395
  allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing: false
1395
1396
  }],
1396
- "@typescript-eslint/strict-void-return": ["error", { allowReturnAny: false }],
1397
+ "@typescript-eslint/strict-void-return": ["off", { allowReturnAny: false }],
1397
1398
  "@typescript-eslint/switch-exhaustiveness-check": ["error", {
1398
1399
  allowDefaultCaseForExhaustiveSwitch: true,
1399
1400
  requireDefaultForNonUnion: false
@@ -1499,6 +1500,7 @@ const vueRules = {
1499
1500
  "vue/no-implicit-coercion": builtinRules["no-implicit-coercion"],
1500
1501
  "vue/no-import-compiler-macros": "error",
1501
1502
  "vue/no-irregular-whitespace": builtinRules["no-irregular-whitespace"],
1503
+ "vue/no-literals-in-template": "error",
1502
1504
  "vue/no-loss-of-precision": "off",
1503
1505
  "vue/no-multiple-objects-in-class": "error",
1504
1506
  "vue/no-multiple-template-root": "off",
@@ -1529,6 +1531,7 @@ const vueRules = {
1529
1531
  }],
1530
1532
  "vue/no-this-in-before-route-enter": "off",
1531
1533
  "vue/no-undef-components": "off",
1534
+ "vue/no-undef-directives": ["error", { ignore: [] }],
1532
1535
  "vue/no-undef-properties": "error",
1533
1536
  "vue/no-unsupported-features": "off",
1534
1537
  "vue/no-unused-emit-declarations": "error",
package/dist/index.d.cts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { FlatConfig } from "@typescript-eslint/utils/ts-eslint";
2
2
  import { FlatGitignoreOptions } from "eslint-config-flat-gitignore";
3
3
 
4
- //#region rolldown:runtime
4
+ //#region \0rolldown/runtime.js
5
5
  //#endregion
6
6
  //#region src/configs/ignores.d.ts
7
7
  interface EslintIgnoresOptions {
@@ -1065,8 +1065,8 @@ declare const reactRules: {
1065
1065
  //#region src/rules/typescript-shim.d.ts
1066
1066
  declare const typescriptShimRules: {
1067
1067
  /**
1068
- * Rules that are checked by typescript or recommended to disable in typescript.
1069
- */
1068
+ * Rules that are checked by typescript or recommended to disable in typescript.
1069
+ */
1070
1070
  'constructor-super': "off";
1071
1071
  'getter-return': "off";
1072
1072
  'no-const-assign': "off";
@@ -1086,10 +1086,10 @@ declare const typescriptShimRules: {
1086
1086
  'no-unsafe-negation': "off";
1087
1087
  'valid-typeof': "off";
1088
1088
  /**
1089
- * Rules from eslint-plugin-import that should be disabled
1090
- *
1091
- * @see https://typescript-eslint.io/troubleshooting/performance-troubleshooting#eslint-plugin-import
1092
- */
1089
+ * Rules from eslint-plugin-import that should be disabled
1090
+ *
1091
+ * @see https://typescript-eslint.io/troubleshooting/performance-troubleshooting#eslint-plugin-import
1092
+ */
1093
1093
  'import/default': "off";
1094
1094
  'import/named': "off";
1095
1095
  'import/namespace': "off";
@@ -1100,8 +1100,8 @@ declare const typescriptShimRules: {
1100
1100
  'import/no-named-as-default': "off";
1101
1101
  'import/no-unused-modules': "off";
1102
1102
  /**
1103
- * Rules that have equivalents in typescript-eslint plugin.
1104
- */
1103
+ * Rules that have equivalents in typescript-eslint plugin.
1104
+ */
1105
1105
  'brace-style': "off";
1106
1106
  camelcase: "off";
1107
1107
  'class-methods-use-this': "off";
@@ -1352,7 +1352,7 @@ declare const typescriptRules: {
1352
1352
  allowAny: boolean;
1353
1353
  allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing: boolean;
1354
1354
  }];
1355
- '@typescript-eslint/strict-void-return': ["error", {
1355
+ '@typescript-eslint/strict-void-return': ["off", {
1356
1356
  allowReturnAny: boolean;
1357
1357
  }];
1358
1358
  '@typescript-eslint/switch-exhaustiveness-check': ["error", {
@@ -1457,6 +1457,7 @@ declare const vueRules: {
1457
1457
  }];
1458
1458
  'vue/no-import-compiler-macros': "error";
1459
1459
  'vue/no-irregular-whitespace': "error";
1460
+ 'vue/no-literals-in-template': "error";
1460
1461
  'vue/no-loss-of-precision': "off";
1461
1462
  'vue/no-multiple-objects-in-class': "error";
1462
1463
  'vue/no-multiple-template-root': "off";
@@ -1497,6 +1498,9 @@ declare const vueRules: {
1497
1498
  }];
1498
1499
  'vue/no-this-in-before-route-enter': "off";
1499
1500
  'vue/no-undef-components': "off";
1501
+ 'vue/no-undef-directives': ["error", {
1502
+ ignore: never[];
1503
+ }];
1500
1504
  'vue/no-undef-properties': "error";
1501
1505
  'vue/no-unsupported-features': "off";
1502
1506
  'vue/no-unused-emit-declarations': "error";
package/dist/index.d.mts CHANGED
@@ -1063,8 +1063,8 @@ declare const reactRules: {
1063
1063
  //#region src/rules/typescript-shim.d.ts
1064
1064
  declare const typescriptShimRules: {
1065
1065
  /**
1066
- * Rules that are checked by typescript or recommended to disable in typescript.
1067
- */
1066
+ * Rules that are checked by typescript or recommended to disable in typescript.
1067
+ */
1068
1068
  'constructor-super': "off";
1069
1069
  'getter-return': "off";
1070
1070
  'no-const-assign': "off";
@@ -1084,10 +1084,10 @@ declare const typescriptShimRules: {
1084
1084
  'no-unsafe-negation': "off";
1085
1085
  'valid-typeof': "off";
1086
1086
  /**
1087
- * Rules from eslint-plugin-import that should be disabled
1088
- *
1089
- * @see https://typescript-eslint.io/troubleshooting/performance-troubleshooting#eslint-plugin-import
1090
- */
1087
+ * Rules from eslint-plugin-import that should be disabled
1088
+ *
1089
+ * @see https://typescript-eslint.io/troubleshooting/performance-troubleshooting#eslint-plugin-import
1090
+ */
1091
1091
  'import/default': "off";
1092
1092
  'import/named': "off";
1093
1093
  'import/namespace': "off";
@@ -1098,8 +1098,8 @@ declare const typescriptShimRules: {
1098
1098
  'import/no-named-as-default': "off";
1099
1099
  'import/no-unused-modules': "off";
1100
1100
  /**
1101
- * Rules that have equivalents in typescript-eslint plugin.
1102
- */
1101
+ * Rules that have equivalents in typescript-eslint plugin.
1102
+ */
1103
1103
  'brace-style': "off";
1104
1104
  camelcase: "off";
1105
1105
  'class-methods-use-this': "off";
@@ -1350,7 +1350,7 @@ declare const typescriptRules: {
1350
1350
  allowAny: boolean;
1351
1351
  allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing: boolean;
1352
1352
  }];
1353
- '@typescript-eslint/strict-void-return': ["error", {
1353
+ '@typescript-eslint/strict-void-return': ["off", {
1354
1354
  allowReturnAny: boolean;
1355
1355
  }];
1356
1356
  '@typescript-eslint/switch-exhaustiveness-check': ["error", {
@@ -1455,6 +1455,7 @@ declare const vueRules: {
1455
1455
  }];
1456
1456
  'vue/no-import-compiler-macros': "error";
1457
1457
  'vue/no-irregular-whitespace': "error";
1458
+ 'vue/no-literals-in-template': "error";
1458
1459
  'vue/no-loss-of-precision': "off";
1459
1460
  'vue/no-multiple-objects-in-class': "error";
1460
1461
  'vue/no-multiple-template-root': "off";
@@ -1495,6 +1496,9 @@ declare const vueRules: {
1495
1496
  }];
1496
1497
  'vue/no-this-in-before-route-enter': "off";
1497
1498
  'vue/no-undef-components': "off";
1499
+ 'vue/no-undef-directives': ["error", {
1500
+ ignore: never[];
1501
+ }];
1498
1502
  'vue/no-undef-properties': "error";
1499
1503
  'vue/no-unsupported-features': "off";
1500
1504
  'vue/no-unused-emit-declarations': "error";
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { t as __exportAll } from "./chunk-15K8U1wQ.mjs";
1
+ import { t as __exportAll } from "./chunk-DQk6qfdC.mjs";
2
2
  import importPlugin from "eslint-plugin-import-x";
3
3
  import confusingBrowserGlobals from "confusing-browser-globals";
4
4
  import tsPlugin from "@typescript-eslint/eslint-plugin";
@@ -1347,7 +1347,7 @@ const typescriptRules = {
1347
1347
  allowAny: false,
1348
1348
  allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing: false
1349
1349
  }],
1350
- "@typescript-eslint/strict-void-return": ["error", { allowReturnAny: false }],
1350
+ "@typescript-eslint/strict-void-return": ["off", { allowReturnAny: false }],
1351
1351
  "@typescript-eslint/switch-exhaustiveness-check": ["error", {
1352
1352
  allowDefaultCaseForExhaustiveSwitch: true,
1353
1353
  requireDefaultForNonUnion: false
@@ -1453,6 +1453,7 @@ const vueRules = {
1453
1453
  "vue/no-implicit-coercion": builtinRules["no-implicit-coercion"],
1454
1454
  "vue/no-import-compiler-macros": "error",
1455
1455
  "vue/no-irregular-whitespace": builtinRules["no-irregular-whitespace"],
1456
+ "vue/no-literals-in-template": "error",
1456
1457
  "vue/no-loss-of-precision": "off",
1457
1458
  "vue/no-multiple-objects-in-class": "error",
1458
1459
  "vue/no-multiple-template-root": "off",
@@ -1483,6 +1484,7 @@ const vueRules = {
1483
1484
  }],
1484
1485
  "vue/no-this-in-before-route-enter": "off",
1485
1486
  "vue/no-undef-components": "off",
1487
+ "vue/no-undef-directives": ["error", { ignore: [] }],
1486
1488
  "vue/no-undef-properties": "error",
1487
1489
  "vue/no-unsupported-features": "off",
1488
1490
  "vue/no-unused-emit-declarations": "error",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meteorlxy/eslint-config",
3
- "version": "6.9.0",
3
+ "version": "6.10.0",
4
4
  "description": "meteorlxy eslint config",
5
5
  "keywords": [
6
6
  "config",
@@ -17,8 +17,8 @@
17
17
  "type": "module",
18
18
  "exports": {
19
19
  ".": {
20
- "require": "./dist/index.cjs",
21
- "import": "./dist/index.mjs"
20
+ "import": "./dist/index.mjs",
21
+ "require": "./dist/index.cjs"
22
22
  },
23
23
  "./package.json": "./package.json"
24
24
  },
@@ -30,17 +30,17 @@
30
30
  ],
31
31
  "dependencies": {
32
32
  "@eslint/markdown": "^7.5.1",
33
- "@typescript-eslint/eslint-plugin": "^8.53.0",
34
- "@typescript-eslint/parser": "^8.53.0",
35
- "@typescript-eslint/utils": "^8.53.0",
33
+ "@typescript-eslint/eslint-plugin": "^8.54.0",
34
+ "@typescript-eslint/parser": "^8.54.0",
35
+ "@typescript-eslint/utils": "^8.54.0",
36
36
  "confusing-browser-globals": "^1.0.11",
37
37
  "eslint-config-flat-gitignore": "^2.1.0",
38
38
  "eslint-config-prettier": "^10.1.8",
39
39
  "eslint-merge-processors": "^2.0.0",
40
40
  "eslint-plugin-eslint-comments": "^3.2.0",
41
41
  "eslint-plugin-import-x": "^4.16.1",
42
- "eslint-plugin-jsonc": "^2.21.0",
43
- "globals": "^17.0.0",
42
+ "eslint-plugin-jsonc": "^2.21.1",
43
+ "globals": "^17.3.0",
44
44
  "jsonc-eslint-parser": "^2.4.2"
45
45
  },
46
46
  "devDependencies": {
@@ -49,9 +49,9 @@
49
49
  "eslint": "^9.39.2",
50
50
  "eslint-plugin-react": "^7.37.5",
51
51
  "eslint-plugin-react-hooks": "^7.0.1",
52
- "eslint-plugin-react-refresh": "^0.4.26",
53
- "eslint-plugin-vue": "^10.6.2",
54
- "tsdown": "^0.20.0-beta.3",
52
+ "eslint-plugin-react-refresh": "^0.5.0",
53
+ "eslint-plugin-vue": "^10.7.0",
54
+ "tsdown": "^0.20.3",
55
55
  "vue-eslint-parser": "^10.2.0"
56
56
  },
57
57
  "peerDependencies": {