@meteorlxy/eslint-config 4.2.2 → 4.2.4

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
@@ -866,13 +866,16 @@ const markdownShimRules = {
866
866
  "strict": "off",
867
867
  "unicode-bom": "off",
868
868
  // import rules
869
+ "import/no-absolute-path": "off",
869
870
  "import/no-extraneous-dependencies": "off",
870
871
  "import/no-unresolved": "off",
871
872
  // typescript-eslint rules, should disable type checking
872
873
  ...tsPlugin__default.configs["disable-type-checked"].rules,
874
+ "@typescript-eslint/no-explicit-any": "off",
873
875
  "@typescript-eslint/no-unused-expressions": "off",
874
876
  "@typescript-eslint/no-unused-vars": "off",
875
877
  // vue rules
878
+ "vue/no-v-html": "off",
876
879
  "vue/require-name-property": "off"
877
880
  };
878
881
 
@@ -1295,7 +1298,7 @@ const typescriptRules = {
1295
1298
  "error",
1296
1299
  {
1297
1300
  selector: "variable",
1298
- modifiers: ["const", "global"],
1301
+ modifiers: ["const", "exported"],
1299
1302
  types: ["array", "boolean", "number", "string"],
1300
1303
  format: ["UPPER_CASE"]
1301
1304
  },
package/dist/index.d.cts CHANGED
@@ -648,8 +648,10 @@ declare const importsRules: {
648
648
  };
649
649
 
650
650
  declare const markdownShimRules: {
651
+ '@typescript-eslint/no-explicit-any': "off";
651
652
  '@typescript-eslint/no-unused-expressions': "off";
652
653
  '@typescript-eslint/no-unused-vars': "off";
654
+ 'vue/no-v-html': "off";
653
655
  'vue/require-name-property': "off";
654
656
  'no-alert': "off";
655
657
  'no-console': "off";
@@ -662,6 +664,7 @@ declare const markdownShimRules: {
662
664
  'no-unused-vars': "off";
663
665
  strict: "off";
664
666
  'unicode-bom': "off";
667
+ 'import/no-absolute-path': "off";
665
668
  'import/no-extraneous-dependencies': "off";
666
669
  'import/no-unresolved': "off";
667
670
  };
package/dist/index.d.mts CHANGED
@@ -648,8 +648,10 @@ declare const importsRules: {
648
648
  };
649
649
 
650
650
  declare const markdownShimRules: {
651
+ '@typescript-eslint/no-explicit-any': "off";
651
652
  '@typescript-eslint/no-unused-expressions': "off";
652
653
  '@typescript-eslint/no-unused-vars': "off";
654
+ 'vue/no-v-html': "off";
653
655
  'vue/require-name-property': "off";
654
656
  'no-alert': "off";
655
657
  'no-console': "off";
@@ -662,6 +664,7 @@ declare const markdownShimRules: {
662
664
  'no-unused-vars': "off";
663
665
  strict: "off";
664
666
  'unicode-bom': "off";
667
+ 'import/no-absolute-path': "off";
665
668
  'import/no-extraneous-dependencies': "off";
666
669
  'import/no-unresolved': "off";
667
670
  };
package/dist/index.d.ts CHANGED
@@ -648,8 +648,10 @@ declare const importsRules: {
648
648
  };
649
649
 
650
650
  declare const markdownShimRules: {
651
+ '@typescript-eslint/no-explicit-any': "off";
651
652
  '@typescript-eslint/no-unused-expressions': "off";
652
653
  '@typescript-eslint/no-unused-vars': "off";
654
+ 'vue/no-v-html': "off";
653
655
  'vue/require-name-property': "off";
654
656
  'no-alert': "off";
655
657
  'no-console': "off";
@@ -662,6 +664,7 @@ declare const markdownShimRules: {
662
664
  'no-unused-vars': "off";
663
665
  strict: "off";
664
666
  'unicode-bom': "off";
667
+ 'import/no-absolute-path': "off";
665
668
  'import/no-extraneous-dependencies': "off";
666
669
  'import/no-unresolved': "off";
667
670
  };
package/dist/index.mjs CHANGED
@@ -854,13 +854,16 @@ const markdownShimRules = {
854
854
  "strict": "off",
855
855
  "unicode-bom": "off",
856
856
  // import rules
857
+ "import/no-absolute-path": "off",
857
858
  "import/no-extraneous-dependencies": "off",
858
859
  "import/no-unresolved": "off",
859
860
  // typescript-eslint rules, should disable type checking
860
861
  ...tsPlugin.configs["disable-type-checked"].rules,
862
+ "@typescript-eslint/no-explicit-any": "off",
861
863
  "@typescript-eslint/no-unused-expressions": "off",
862
864
  "@typescript-eslint/no-unused-vars": "off",
863
865
  // vue rules
866
+ "vue/no-v-html": "off",
864
867
  "vue/require-name-property": "off"
865
868
  };
866
869
 
@@ -1283,7 +1286,7 @@ const typescriptRules = {
1283
1286
  "error",
1284
1287
  {
1285
1288
  selector: "variable",
1286
- modifiers: ["const", "global"],
1289
+ modifiers: ["const", "exported"],
1287
1290
  types: ["array", "boolean", "number", "string"],
1288
1291
  format: ["UPPER_CASE"]
1289
1292
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meteorlxy/eslint-config",
3
- "version": "4.2.2",
3
+ "version": "4.2.4",
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.1.0",
36
- "@typescript-eslint/parser": "^8.1.0",
37
- "@typescript-eslint/utils": "^8.1.0",
35
+ "@typescript-eslint/eslint-plugin": "^8.2.0",
36
+ "@typescript-eslint/parser": "^8.2.0",
37
+ "@typescript-eslint/utils": "^8.2.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",
@@ -79,5 +79,5 @@
79
79
  "publishConfig": {
80
80
  "access": "public"
81
81
  },
82
- "gitHead": "981f3bdeae7b3eda356da94e272bb3c2d09f8669"
82
+ "gitHead": "cd3d5230e2369bd260c9d2952fd4d8d87fea3091"
83
83
  }