@debbl/eslint-config 3.8.6 → 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"
@@ -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,
@@ -616,6 +640,7 @@ var markdown = async (options) => {
616
640
  };
617
641
 
618
642
  // src/configs/node.ts
643
+ init_esm_shims();
619
644
  async function node() {
620
645
  const pluginNode = await interopDefault(import("eslint-plugin-n"));
621
646
  return [
@@ -639,6 +664,7 @@ async function node() {
639
664
  }
640
665
 
641
666
  // src/configs/perfectionist.ts
667
+ init_esm_shims();
642
668
  async function perfectionist() {
643
669
  const pluginPerfectionist = await interopDefault(
644
670
  import("eslint-plugin-perfectionist")
@@ -696,6 +722,7 @@ async function perfectionist() {
696
722
  }
697
723
 
698
724
  // src/configs/prettier.ts
725
+ init_esm_shims();
699
726
  var prettier = async ({ tailwindcss: tailwindcss2, ...options }) => {
700
727
  const [pluginPrettier, configPrettier] = await Promise.all([
701
728
  interopDefault(import("eslint-plugin-prettier")),
@@ -797,6 +824,7 @@ var prettier = async ({ tailwindcss: tailwindcss2, ...options }) => {
797
824
  };
798
825
 
799
826
  // src/configs/sort.ts
827
+ init_esm_shims();
800
828
  async function sortPackageJson() {
801
829
  return [
802
830
  {
@@ -1004,6 +1032,7 @@ async function sortTsconfig() {
1004
1032
  }
1005
1033
 
1006
1034
  // src/configs/test.ts
1035
+ init_esm_shims();
1007
1036
  var test = async (options) => {
1008
1037
  const { overrides = {} } = options;
1009
1038
  const [pluginVitest, pluginNoOnlyTests] = await Promise.all([
@@ -1047,6 +1076,7 @@ var test = async (options) => {
1047
1076
  };
1048
1077
 
1049
1078
  // src/configs/toml.ts
1079
+ init_esm_shims();
1050
1080
  var toml = async (options) => {
1051
1081
  const { overrides = {} } = options;
1052
1082
  const [pluginToml, parserToml] = await Promise.all([
@@ -1093,6 +1123,7 @@ var toml = async (options) => {
1093
1123
  };
1094
1124
 
1095
1125
  // src/configs/typescript.ts
1126
+ init_esm_shims();
1096
1127
  import process2 from "node:process";
1097
1128
  var typeAwareRules = {
1098
1129
  "dot-notation": "off",
@@ -1244,6 +1275,7 @@ var typescript = async (options) => {
1244
1275
  };
1245
1276
 
1246
1277
  // src/configs/unicorn.ts
1278
+ init_esm_shims();
1247
1279
  async function unicorn() {
1248
1280
  const pluginUnicorn = await interopDefault(import("eslint-plugin-unicorn"));
1249
1281
  return [
@@ -1288,6 +1320,7 @@ async function unicorn() {
1288
1320
  }
1289
1321
 
1290
1322
  // src/configs/vue.ts
1323
+ init_esm_shims();
1291
1324
  var vue = async (options = {}) => {
1292
1325
  const { overrides = {}, typescript: isTypescript } = options;
1293
1326
  const [pluginVue, parserVue] = await Promise.all([
@@ -1428,6 +1461,7 @@ var vue = async (options = {}) => {
1428
1461
  };
1429
1462
 
1430
1463
  // src/configs/yml.ts
1464
+ init_esm_shims();
1431
1465
  var yml = async (options) => {
1432
1466
  const { overrides = {} } = options;
1433
1467
  const [pluginYml, parserYml] = await Promise.all([
@@ -1465,6 +1499,7 @@ var yml = async (options) => {
1465
1499
  };
1466
1500
 
1467
1501
  // src/configs/react.ts
1502
+ init_esm_shims();
1468
1503
  async function next() {
1469
1504
  const pluginNext = await interopDefault(import("@next/eslint-plugin-next"));
1470
1505
  return [
@@ -1646,6 +1681,7 @@ var react = async (options) => {
1646
1681
  };
1647
1682
 
1648
1683
  // src/configs/tailwindcss.ts
1684
+ init_esm_shims();
1649
1685
  async function tailwindcss() {
1650
1686
  const pluginTailwindcss = await interopDefault(
1651
1687
  // @ts-expect-error missing types
@@ -1750,6 +1786,9 @@ function defineConfig(options = {}) {
1750
1786
  }
1751
1787
  var config = defineConfig;
1752
1788
 
1789
+ // src/types.ts
1790
+ init_esm_shims();
1791
+
1753
1792
  // src/index.ts
1754
1793
  var src_default = config;
1755
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.6",
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,13 +23,7 @@
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
29
  "@eslint-community/eslint-plugin-eslint-comments": "^4.4.1",