@debbl/eslint-config 3.8.5 → 3.8.8

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.js CHANGED
@@ -1,4 +1,21 @@
1
+ import {
2
+ init_esm_shims
3
+ } from "./chunk-VCB7MQKB.js";
4
+
5
+ // src/index.ts
6
+ init_esm_shims();
7
+
8
+ // src/factory.ts
9
+ init_esm_shims();
10
+
11
+ // src/configs/index.ts
12
+ init_esm_shims();
13
+
14
+ // src/configs/comments.ts
15
+ init_esm_shims();
16
+
1
17
  // src/utils.ts
18
+ init_esm_shims();
2
19
  var parserPlain = {
3
20
  meta: {
4
21
  name: "parser-plain"
@@ -32,7 +49,7 @@ async function interopDefault(m) {
32
49
  async function comments() {
33
50
  const pluginComments = await interopDefault(
34
51
  // @ts-expect-error missing types
35
- import("eslint-plugin-eslint-comments")
52
+ import("@eslint-community/eslint-plugin-eslint-comments")
36
53
  );
37
54
  return [
38
55
  {
@@ -51,10 +68,12 @@ async function comments() {
51
68
  }
52
69
 
53
70
  // src/configs/ignores.ts
71
+ init_esm_shims();
54
72
  import fs from "node:fs";
55
73
  import path from "node:path";
56
74
 
57
75
  // src/globs.ts
76
+ init_esm_shims();
58
77
  var GLOB_SRC_EXT = "?([cm])[jt]s?(x)";
59
78
  var GLOB_SRC = "**/*.?([cm])[jt]s?(x)";
60
79
  var GLOB_JS = "**/*.?([cm])js";
@@ -151,6 +170,7 @@ var ignores = async (options) => {
151
170
  };
152
171
 
153
172
  // src/configs/imports.ts
173
+ init_esm_shims();
154
174
  async function imports() {
155
175
  const pluginImport = await interopDefault(import("eslint-plugin-import-x"));
156
176
  return [
@@ -177,6 +197,7 @@ async function imports() {
177
197
  }
178
198
 
179
199
  // src/configs/javascript.ts
200
+ init_esm_shims();
180
201
  import globals from "globals";
181
202
  var javascript = async (options) => {
182
203
  const { overrides = {} } = options;
@@ -418,6 +439,7 @@ var javascript = async (options) => {
418
439
  };
419
440
 
420
441
  // src/configs/jsdoc.ts
442
+ init_esm_shims();
421
443
  async function jsdoc() {
422
444
  return [
423
445
  {
@@ -449,6 +471,7 @@ async function jsdoc() {
449
471
  }
450
472
 
451
473
  // src/configs/jsonc.ts
474
+ init_esm_shims();
452
475
  var jsonc = async (options) => {
453
476
  const { overrides = {} } = options;
454
477
  const [pluginJsonc, parserJsonc] = await Promise.all([
@@ -519,8 +542,9 @@ var jsonc = async (options) => {
519
542
  };
520
543
 
521
544
  // src/configs/markdown.ts
545
+ init_esm_shims();
522
546
  async function mdx() {
523
- const pluginMdx = await interopDefault(import("eslint-plugin-mdx"));
547
+ const pluginMdx = await interopDefault(import("./index.es2015-7TBD5FJT.js"));
524
548
  return [
525
549
  {
526
550
  ...pluginMdx.flat,
@@ -545,10 +569,7 @@ var markdown = async (options) => {
545
569
  componentExts = [],
546
570
  overrides = {}
547
571
  } = options;
548
- const pluginMarkdown = await Promise.all([
549
- interopDefault(import("eslint-plugin-mdx")),
550
- interopDefault(import("@eslint/markdown"))
551
- ]);
572
+ const pluginMarkdown = await interopDefault(import("@eslint/markdown"));
552
573
  const _markdown = [
553
574
  {
554
575
  name: "eslint/markdown/setup",
@@ -619,6 +640,7 @@ var markdown = async (options) => {
619
640
  };
620
641
 
621
642
  // src/configs/node.ts
643
+ init_esm_shims();
622
644
  async function node() {
623
645
  const pluginNode = await interopDefault(import("eslint-plugin-n"));
624
646
  return [
@@ -642,6 +664,7 @@ async function node() {
642
664
  }
643
665
 
644
666
  // src/configs/perfectionist.ts
667
+ init_esm_shims();
645
668
  async function perfectionist() {
646
669
  const pluginPerfectionist = await interopDefault(
647
670
  import("eslint-plugin-perfectionist")
@@ -699,6 +722,7 @@ async function perfectionist() {
699
722
  }
700
723
 
701
724
  // src/configs/prettier.ts
725
+ init_esm_shims();
702
726
  var prettier = async ({ tailwindcss: tailwindcss2, ...options }) => {
703
727
  const [pluginPrettier, configPrettier] = await Promise.all([
704
728
  interopDefault(import("eslint-plugin-prettier")),
@@ -800,6 +824,7 @@ var prettier = async ({ tailwindcss: tailwindcss2, ...options }) => {
800
824
  };
801
825
 
802
826
  // src/configs/sort.ts
827
+ init_esm_shims();
803
828
  async function sortPackageJson() {
804
829
  return [
805
830
  {
@@ -1007,6 +1032,7 @@ async function sortTsconfig() {
1007
1032
  }
1008
1033
 
1009
1034
  // src/configs/test.ts
1035
+ init_esm_shims();
1010
1036
  var test = async (options) => {
1011
1037
  const { overrides = {} } = options;
1012
1038
  const [pluginVitest, pluginNoOnlyTests] = await Promise.all([
@@ -1050,6 +1076,7 @@ var test = async (options) => {
1050
1076
  };
1051
1077
 
1052
1078
  // src/configs/toml.ts
1079
+ init_esm_shims();
1053
1080
  var toml = async (options) => {
1054
1081
  const { overrides = {} } = options;
1055
1082
  const [pluginToml, parserToml] = await Promise.all([
@@ -1096,6 +1123,7 @@ var toml = async (options) => {
1096
1123
  };
1097
1124
 
1098
1125
  // src/configs/typescript.ts
1126
+ init_esm_shims();
1099
1127
  import process2 from "node:process";
1100
1128
  var typeAwareRules = {
1101
1129
  "dot-notation": "off",
@@ -1247,6 +1275,7 @@ var typescript = async (options) => {
1247
1275
  };
1248
1276
 
1249
1277
  // src/configs/unicorn.ts
1278
+ init_esm_shims();
1250
1279
  async function unicorn() {
1251
1280
  const pluginUnicorn = await interopDefault(import("eslint-plugin-unicorn"));
1252
1281
  return [
@@ -1291,6 +1320,7 @@ async function unicorn() {
1291
1320
  }
1292
1321
 
1293
1322
  // src/configs/vue.ts
1323
+ init_esm_shims();
1294
1324
  var vue = async (options = {}) => {
1295
1325
  const { overrides = {}, typescript: isTypescript } = options;
1296
1326
  const [pluginVue, parserVue] = await Promise.all([
@@ -1431,6 +1461,7 @@ var vue = async (options = {}) => {
1431
1461
  };
1432
1462
 
1433
1463
  // src/configs/yml.ts
1464
+ init_esm_shims();
1434
1465
  var yml = async (options) => {
1435
1466
  const { overrides = {} } = options;
1436
1467
  const [pluginYml, parserYml] = await Promise.all([
@@ -1468,6 +1499,7 @@ var yml = async (options) => {
1468
1499
  };
1469
1500
 
1470
1501
  // src/configs/react.ts
1502
+ init_esm_shims();
1471
1503
  async function next() {
1472
1504
  const pluginNext = await interopDefault(import("@next/eslint-plugin-next"));
1473
1505
  return [
@@ -1649,6 +1681,7 @@ var react = async (options) => {
1649
1681
  };
1650
1682
 
1651
1683
  // src/configs/tailwindcss.ts
1684
+ init_esm_shims();
1652
1685
  async function tailwindcss() {
1653
1686
  const pluginTailwindcss = await interopDefault(
1654
1687
  // @ts-expect-error missing types
@@ -1753,6 +1786,9 @@ function defineConfig(options = {}) {
1753
1786
  }
1754
1787
  var config = defineConfig;
1755
1788
 
1789
+ // src/types.ts
1790
+ init_esm_shims();
1791
+
1756
1792
  // src/index.ts
1757
1793
  var src_default = config;
1758
1794
  export {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@debbl/eslint-config",
3
3
  "type": "module",
4
- "version": "3.8.5",
4
+ "version": "3.8.8",
5
5
  "description": "Brendan Dash's ESLint config",
6
6
  "author": "Debbl <me@aiwan.run> (https://github.com/Debbl/)",
7
7
  "license": "MIT",
@@ -23,29 +23,23 @@
23
23
  "dist"
24
24
  ],
25
25
  "peerDependencies": {
26
- "eslint": ">=8.40.0",
27
- "eslint-plugin-mdx": ">=3.1.5"
28
- },
29
- "peerDependenciesMeta": {
30
- "eslint-plugin-mdx": {
31
- "optional": true
32
- }
26
+ "eslint": ">=9"
33
27
  },
34
28
  "dependencies": {
35
- "@eslint-react/eslint-plugin": "^1.19.0",
29
+ "@eslint-community/eslint-plugin-eslint-comments": "^4.4.1",
30
+ "@eslint-react/eslint-plugin": "^1.22.1",
36
31
  "@eslint/markdown": "^6.2.1",
37
- "@next/eslint-plugin-next": "^15.1.0",
38
- "@typescript-eslint/eslint-plugin": "^8.18.0",
39
- "@typescript-eslint/parser": "^8.18.0",
40
- "@vitest/eslint-plugin": "^1.1.16",
32
+ "@next/eslint-plugin-next": "^15.1.2",
33
+ "@typescript-eslint/eslint-plugin": "^8.18.2",
34
+ "@typescript-eslint/parser": "^8.18.2",
35
+ "@vitest/eslint-plugin": "^1.1.20",
41
36
  "eslint-config-prettier": "^9.1.0",
42
- "eslint-plugin-eslint-comments": "^3.2.0",
43
- "eslint-plugin-import-x": "^4.5.0",
37
+ "eslint-plugin-import-x": "^4.6.1",
44
38
  "eslint-plugin-jsdoc": "^50.6.1",
45
39
  "eslint-plugin-jsonc": "^2.18.2",
46
- "eslint-plugin-n": "^17.15.0",
40
+ "eslint-plugin-n": "^17.15.1",
47
41
  "eslint-plugin-no-only-tests": "^3.3.0",
48
- "eslint-plugin-perfectionist": "^4.3.0",
42
+ "eslint-plugin-perfectionist": "^4.4.0",
49
43
  "eslint-plugin-prettier": "^5.2.1",
50
44
  "eslint-plugin-react-compiler": "latest",
51
45
  "eslint-plugin-react-hooks": "^5.1.0",
@@ -57,7 +51,7 @@
57
51
  "eslint-plugin-unused-imports": "^4.1.4",
58
52
  "eslint-plugin-vue": "^9.32.0",
59
53
  "eslint-plugin-yml": "^1.16.0",
60
- "globals": "^15.13.0",
54
+ "globals": "^15.14.0",
61
55
  "jsonc-eslint-parser": "^2.4.0",
62
56
  "prettier": "^3.4.2",
63
57
  "prettier-plugin-tailwindcss": "^0.6.9",
@@ -69,9 +63,9 @@
69
63
  "@eslint/config-inspector": "^0.6.0",
70
64
  "@types/eslint": "^9.6.1",
71
65
  "@types/node": "^22.10.2",
72
- "@types/react": "^19.0.1",
73
- "bumpp": "^9.9.1",
74
- "eslint": "^9.16.0",
66
+ "@types/react": "^19.0.2",
67
+ "bumpp": "^9.9.2",
68
+ "eslint": "^9.17.0",
75
69
  "eslint-plugin-mdx": "^3.1.5",
76
70
  "execa": "^9.5.2",
77
71
  "fast-glob": "^3.3.2",