@icebreakers/eslint-config 1.1.1 → 1.1.2
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 +66 -65
- package/dist/index.js +4 -3
- package/dist/{lib-XEKWCYO4.js → lib-DBKCIEYZ.js} +34 -34
- package/package.json +5 -5
package/dist/index.cjs
CHANGED
|
@@ -41,10 +41,10 @@ var init_cjs_shims = __esm({
|
|
|
41
41
|
}
|
|
42
42
|
});
|
|
43
43
|
|
|
44
|
-
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.
|
|
44
|
+
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.1_eslint@9.25.1_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/configs/base.js
|
|
45
45
|
var base;
|
|
46
46
|
var init_base = __esm({
|
|
47
|
-
"../../node_modules/.pnpm/eslint-plugin-mdx@3.4.
|
|
47
|
+
"../../node_modules/.pnpm/eslint-plugin-mdx@3.4.1_eslint@9.25.1_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/configs/base.js"() {
|
|
48
48
|
"use strict";
|
|
49
49
|
init_cjs_shims();
|
|
50
50
|
base = {
|
|
@@ -63,10 +63,10 @@ var init_base = __esm({
|
|
|
63
63
|
}
|
|
64
64
|
});
|
|
65
65
|
|
|
66
|
-
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.
|
|
66
|
+
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.1_eslint@9.25.1_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/configs/code-blocks.js
|
|
67
67
|
var codeBlocks;
|
|
68
68
|
var init_code_blocks = __esm({
|
|
69
|
-
"../../node_modules/.pnpm/eslint-plugin-mdx@3.4.
|
|
69
|
+
"../../node_modules/.pnpm/eslint-plugin-mdx@3.4.1_eslint@9.25.1_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/configs/code-blocks.js"() {
|
|
70
70
|
"use strict";
|
|
71
71
|
init_cjs_shims();
|
|
72
72
|
codeBlocks = {
|
|
@@ -89,10 +89,10 @@ var init_code_blocks = __esm({
|
|
|
89
89
|
}
|
|
90
90
|
});
|
|
91
91
|
|
|
92
|
-
// ../../node_modules/.pnpm/eslint-mdx@3.4.
|
|
92
|
+
// ../../node_modules/.pnpm/eslint-mdx@3.4.1_eslint@9.25.1_jiti@2.4.2_/node_modules/eslint-mdx/lib/helpers.js
|
|
93
93
|
var import_node_fs, import_node_module, import_node_path, arrayify, getPhysicalFilename, getPositionAtFactory, normalizePosition, prevCharOffsetFactory, nextCharOffsetFactory, cjsRequire;
|
|
94
94
|
var init_helpers = __esm({
|
|
95
|
-
"../../node_modules/.pnpm/eslint-mdx@3.4.
|
|
95
|
+
"../../node_modules/.pnpm/eslint-mdx@3.4.1_eslint@9.25.1_jiti@2.4.2_/node_modules/eslint-mdx/lib/helpers.js"() {
|
|
96
96
|
"use strict";
|
|
97
97
|
init_cjs_shims();
|
|
98
98
|
import_node_fs = __toESM(require("fs"), 1);
|
|
@@ -166,14 +166,14 @@ var init_helpers = __esm({
|
|
|
166
166
|
}
|
|
167
167
|
};
|
|
168
168
|
};
|
|
169
|
-
cjsRequire =
|
|
169
|
+
cjsRequire = importMetaUrl ? (0, import_node_module.createRequire)(importMetaUrl) : require;
|
|
170
170
|
}
|
|
171
171
|
});
|
|
172
172
|
|
|
173
|
-
// ../../node_modules/.pnpm/eslint-mdx@3.4.
|
|
173
|
+
// ../../node_modules/.pnpm/eslint-mdx@3.4.1_eslint@9.25.1_jiti@2.4.2_/node_modules/eslint-mdx/lib/meta.js
|
|
174
174
|
var pkg, meta;
|
|
175
175
|
var init_meta = __esm({
|
|
176
|
-
"../../node_modules/.pnpm/eslint-mdx@3.4.
|
|
176
|
+
"../../node_modules/.pnpm/eslint-mdx@3.4.1_eslint@9.25.1_jiti@2.4.2_/node_modules/eslint-mdx/lib/meta.js"() {
|
|
177
177
|
"use strict";
|
|
178
178
|
init_cjs_shims();
|
|
179
179
|
init_helpers();
|
|
@@ -201,10 +201,10 @@ var init_tslib_es6 = __esm({
|
|
|
201
201
|
}
|
|
202
202
|
});
|
|
203
203
|
|
|
204
|
-
// ../../node_modules/.pnpm/synckit@0.11.
|
|
204
|
+
// ../../node_modules/.pnpm/synckit@0.11.4/node_modules/synckit/lib/common.js
|
|
205
205
|
var _a, NODE_OPTIONS, hasFlag, parseVersion, compareVersion, NODE_VERSION, compareNodeVersion;
|
|
206
206
|
var init_common = __esm({
|
|
207
|
-
"../../node_modules/.pnpm/synckit@0.11.
|
|
207
|
+
"../../node_modules/.pnpm/synckit@0.11.4/node_modules/synckit/lib/common.js"() {
|
|
208
208
|
"use strict";
|
|
209
209
|
init_cjs_shims();
|
|
210
210
|
NODE_OPTIONS = (_a = process.env.NODE_OPTIONS) === null || _a === void 0 ? void 0 : _a.split(/\s+/);
|
|
@@ -231,10 +231,10 @@ var init_common = __esm({
|
|
|
231
231
|
}
|
|
232
232
|
});
|
|
233
233
|
|
|
234
|
-
// ../../node_modules/.pnpm/synckit@0.11.
|
|
234
|
+
// ../../node_modules/.pnpm/synckit@0.11.4/node_modules/synckit/lib/constants.js
|
|
235
235
|
var TsRunner, NODE_OPTIONS_, SYNCKIT_EXEC_ARGV, SYNCKIT_GLOBAL_SHIMS, SYNCKIT_TIMEOUT, SYNCKIT_TS_RUNNER, TS_ESM_PARTIAL_SUPPORTED, MTS_SUPPORTED, MODULE_REGISTER_SUPPORTED, STRIP_TYPES_NODE_VERSION, TRANSFORM_TYPES_NODE_VERSION, FEATURE_TYPESCRIPT_NODE_VERSION, DEFAULT_TYPES_NODE_VERSION, STRIP_TYPES_FLAG, TRANSFORM_TYPES_FLAG, NO_STRIP_TYPES_FLAG, NODE_OPTIONS2, NO_STRIP_TYPES, DEFAULT_TIMEOUT, DEFAULT_EXEC_ARGV, DEFAULT_TS_RUNNER, DEFAULT_GLOBAL_SHIMS, DEFAULT_GLOBAL_SHIMS_PRESET, IMPORT_FLAG, REQUIRE_FLAG, REQUIRE_ABBR_FLAG, REQUIRE_FLAGS, LOADER_FLAG, EXPERIMENTAL_LOADER_FLAG, LOADER_FLAGS, IMPORT_FLAG_SUPPORTED, INT32_BYTES;
|
|
236
236
|
var init_constants = __esm({
|
|
237
|
-
"../../node_modules/.pnpm/synckit@0.11.
|
|
237
|
+
"../../node_modules/.pnpm/synckit@0.11.4/node_modules/synckit/lib/constants.js"() {
|
|
238
238
|
"use strict";
|
|
239
239
|
init_cjs_shims();
|
|
240
240
|
init_common();
|
|
@@ -288,10 +288,10 @@ var init_constants = __esm({
|
|
|
288
288
|
}
|
|
289
289
|
});
|
|
290
290
|
|
|
291
|
-
// ../../node_modules/.pnpm/@pkgr+core@0.2.
|
|
291
|
+
// ../../node_modules/.pnpm/@pkgr+core@0.2.4/node_modules/@pkgr/core/lib/constants.js
|
|
292
292
|
var import_node_module2, CWD, cjsRequire2, EXTENSIONS;
|
|
293
293
|
var init_constants2 = __esm({
|
|
294
|
-
"../../node_modules/.pnpm/@pkgr+core@0.2.
|
|
294
|
+
"../../node_modules/.pnpm/@pkgr+core@0.2.4/node_modules/@pkgr/core/lib/constants.js"() {
|
|
295
295
|
"use strict";
|
|
296
296
|
init_cjs_shims();
|
|
297
297
|
import_node_module2 = require("module");
|
|
@@ -301,10 +301,10 @@ var init_constants2 = __esm({
|
|
|
301
301
|
}
|
|
302
302
|
});
|
|
303
303
|
|
|
304
|
-
// ../../node_modules/.pnpm/@pkgr+core@0.2.
|
|
304
|
+
// ../../node_modules/.pnpm/@pkgr+core@0.2.4/node_modules/@pkgr/core/lib/helpers.js
|
|
305
305
|
var import_node_fs2, import_node_path2, tryPkg, isPkgAvailable, tryFile, tryExtensions, findUp;
|
|
306
306
|
var init_helpers2 = __esm({
|
|
307
|
-
"../../node_modules/.pnpm/@pkgr+core@0.2.
|
|
307
|
+
"../../node_modules/.pnpm/@pkgr+core@0.2.4/node_modules/@pkgr/core/lib/helpers.js"() {
|
|
308
308
|
"use strict";
|
|
309
309
|
init_cjs_shims();
|
|
310
310
|
import_node_fs2 = __toESM(require("fs"), 1);
|
|
@@ -354,9 +354,9 @@ var init_helpers2 = __esm({
|
|
|
354
354
|
}
|
|
355
355
|
});
|
|
356
356
|
|
|
357
|
-
// ../../node_modules/.pnpm/@pkgr+core@0.2.
|
|
357
|
+
// ../../node_modules/.pnpm/@pkgr+core@0.2.4/node_modules/@pkgr/core/lib/index.js
|
|
358
358
|
var init_lib = __esm({
|
|
359
|
-
"../../node_modules/.pnpm/@pkgr+core@0.2.
|
|
359
|
+
"../../node_modules/.pnpm/@pkgr+core@0.2.4/node_modules/@pkgr/core/lib/index.js"() {
|
|
360
360
|
"use strict";
|
|
361
361
|
init_cjs_shims();
|
|
362
362
|
init_constants2();
|
|
@@ -364,7 +364,7 @@ var init_lib = __esm({
|
|
|
364
364
|
}
|
|
365
365
|
});
|
|
366
366
|
|
|
367
|
-
// ../../node_modules/.pnpm/synckit@0.11.
|
|
367
|
+
// ../../node_modules/.pnpm/synckit@0.11.4/node_modules/synckit/lib/helpers.js
|
|
368
368
|
function startWorkerThread(workerPath, { timeout = DEFAULT_TIMEOUT, execArgv = DEFAULT_EXEC_ARGV, tsRunner = DEFAULT_TS_RUNNER, transferList = [], globalShims = DEFAULT_GLOBAL_SHIMS } = {}) {
|
|
369
369
|
const { port1: mainPort, port2: workerPort } = new import_node_worker_threads.MessageChannel();
|
|
370
370
|
const { isTs, ext, jsUseEsm, tsUseEsm, tsRunner: finalTsRunner, workerPath: finalWorkerPath, pnpLoaderPath, execArgv: finalExecArgv } = setupTsRunner(workerPath, { execArgv, tsRunner });
|
|
@@ -436,7 +436,7 @@ function startWorkerThread(workerPath, { timeout = DEFAULT_TIMEOUT, execArgv = D
|
|
|
436
436
|
}
|
|
437
437
|
var import_node_crypto, import_node_fs3, import_node_path3, import_node_url, import_node_worker_threads, isFile, dataUrl, hasRequireFlag, hasImportFlag, hasLoaderFlag, setupTsRunner, md5Hash, encodeImportModule, _generateGlobals, globalsCache, tmpdir, _dirname, generateGlobals, sharedBuffer, sharedBufferView;
|
|
438
438
|
var init_helpers3 = __esm({
|
|
439
|
-
"../../node_modules/.pnpm/synckit@0.11.
|
|
439
|
+
"../../node_modules/.pnpm/synckit@0.11.4/node_modules/synckit/lib/helpers.js"() {
|
|
440
440
|
"use strict";
|
|
441
441
|
init_cjs_shims();
|
|
442
442
|
init_tslib_es6();
|
|
@@ -698,15 +698,15 @@ var init_helpers3 = __esm({
|
|
|
698
698
|
}
|
|
699
699
|
});
|
|
700
700
|
|
|
701
|
-
// ../../node_modules/.pnpm/synckit@0.11.
|
|
701
|
+
// ../../node_modules/.pnpm/synckit@0.11.4/node_modules/synckit/lib/types.js
|
|
702
702
|
var init_types = __esm({
|
|
703
|
-
"../../node_modules/.pnpm/synckit@0.11.
|
|
703
|
+
"../../node_modules/.pnpm/synckit@0.11.4/node_modules/synckit/lib/types.js"() {
|
|
704
704
|
"use strict";
|
|
705
705
|
init_cjs_shims();
|
|
706
706
|
}
|
|
707
707
|
});
|
|
708
708
|
|
|
709
|
-
// ../../node_modules/.pnpm/synckit@0.11.
|
|
709
|
+
// ../../node_modules/.pnpm/synckit@0.11.4/node_modules/synckit/lib/index.js
|
|
710
710
|
function createSyncFn(workerPath, timeoutOrOptions) {
|
|
711
711
|
syncFnCache !== null && syncFnCache !== void 0 ? syncFnCache : syncFnCache = /* @__PURE__ */ new Map();
|
|
712
712
|
if (typeof workerPath !== "string" || workerPath.startsWith("file://")) {
|
|
@@ -725,7 +725,7 @@ function createSyncFn(workerPath, timeoutOrOptions) {
|
|
|
725
725
|
}
|
|
726
726
|
var import_node_module3, import_node_path4, import_node_url2, import_node_worker_threads2, syncFnCache;
|
|
727
727
|
var init_lib2 = __esm({
|
|
728
|
-
"../../node_modules/.pnpm/synckit@0.11.
|
|
728
|
+
"../../node_modules/.pnpm/synckit@0.11.4/node_modules/synckit/lib/index.js"() {
|
|
729
729
|
"use strict";
|
|
730
730
|
init_cjs_shims();
|
|
731
731
|
import_node_module3 = __toESM(require("module"), 1);
|
|
@@ -741,10 +741,10 @@ var init_lib2 = __esm({
|
|
|
741
741
|
}
|
|
742
742
|
});
|
|
743
743
|
|
|
744
|
-
// ../../node_modules/.pnpm/eslint-mdx@3.4.
|
|
744
|
+
// ../../node_modules/.pnpm/eslint-mdx@3.4.1_eslint@9.25.1_jiti@2.4.2_/node_modules/eslint-mdx/lib/sync.js
|
|
745
745
|
var performSyncWork;
|
|
746
746
|
var init_sync = __esm({
|
|
747
|
-
"../../node_modules/.pnpm/eslint-mdx@3.4.
|
|
747
|
+
"../../node_modules/.pnpm/eslint-mdx@3.4.1_eslint@9.25.1_jiti@2.4.2_/node_modules/eslint-mdx/lib/sync.js"() {
|
|
748
748
|
"use strict";
|
|
749
749
|
init_cjs_shims();
|
|
750
750
|
init_lib2();
|
|
@@ -753,10 +753,10 @@ var init_sync = __esm({
|
|
|
753
753
|
}
|
|
754
754
|
});
|
|
755
755
|
|
|
756
|
-
// ../../node_modules/.pnpm/eslint-mdx@3.4.
|
|
756
|
+
// ../../node_modules/.pnpm/eslint-mdx@3.4.1_eslint@9.25.1_jiti@2.4.2_/node_modules/eslint-mdx/lib/parser.js
|
|
757
757
|
var import_node_path5, DEFAULT_EXTENSIONS, MARKDOWN_EXTENSIONS, Parser, parser, parse, parseForESLint;
|
|
758
758
|
var init_parser = __esm({
|
|
759
|
-
"../../node_modules/.pnpm/eslint-mdx@3.4.
|
|
759
|
+
"../../node_modules/.pnpm/eslint-mdx@3.4.1_eslint@9.25.1_jiti@2.4.2_/node_modules/eslint-mdx/lib/parser.js"() {
|
|
760
760
|
"use strict";
|
|
761
761
|
init_cjs_shims();
|
|
762
762
|
import_node_path5 = __toESM(require("path"), 1);
|
|
@@ -822,7 +822,7 @@ var init_parser = __esm({
|
|
|
822
822
|
}
|
|
823
823
|
});
|
|
824
824
|
|
|
825
|
-
// ../../node_modules/.pnpm/eslint-mdx@3.4.
|
|
825
|
+
// ../../node_modules/.pnpm/eslint-mdx@3.4.1_eslint@9.25.1_jiti@2.4.2_/node_modules/eslint-mdx/lib/index.js
|
|
826
826
|
var lib_exports = {};
|
|
827
827
|
__export(lib_exports, {
|
|
828
828
|
DEFAULT_EXTENSIONS: () => DEFAULT_EXTENSIONS,
|
|
@@ -842,7 +842,7 @@ __export(lib_exports, {
|
|
|
842
842
|
prevCharOffsetFactory: () => prevCharOffsetFactory
|
|
843
843
|
});
|
|
844
844
|
var init_lib3 = __esm({
|
|
845
|
-
"../../node_modules/.pnpm/eslint-mdx@3.4.
|
|
845
|
+
"../../node_modules/.pnpm/eslint-mdx@3.4.1_eslint@9.25.1_jiti@2.4.2_/node_modules/eslint-mdx/lib/index.js"() {
|
|
846
846
|
"use strict";
|
|
847
847
|
init_cjs_shims();
|
|
848
848
|
init_helpers();
|
|
@@ -852,10 +852,10 @@ var init_lib3 = __esm({
|
|
|
852
852
|
}
|
|
853
853
|
});
|
|
854
854
|
|
|
855
|
-
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.
|
|
855
|
+
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.1_eslint@9.25.1_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/configs/flat.js
|
|
856
856
|
var flat, parserOptions, restConfig, flatCodeBlocks;
|
|
857
857
|
var init_flat = __esm({
|
|
858
|
-
"../../node_modules/.pnpm/eslint-plugin-mdx@3.4.
|
|
858
|
+
"../../node_modules/.pnpm/eslint-plugin-mdx@3.4.1_eslint@9.25.1_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/configs/flat.js"() {
|
|
859
859
|
"use strict";
|
|
860
860
|
init_cjs_shims();
|
|
861
861
|
init_lib3();
|
|
@@ -891,24 +891,24 @@ var init_flat = __esm({
|
|
|
891
891
|
}
|
|
892
892
|
});
|
|
893
893
|
|
|
894
|
-
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.
|
|
894
|
+
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.1_eslint@9.25.1_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/helpers.js
|
|
895
895
|
var import_node_module4, getGlobals, cjsRequire3;
|
|
896
896
|
var init_helpers4 = __esm({
|
|
897
|
-
"../../node_modules/.pnpm/eslint-plugin-mdx@3.4.
|
|
897
|
+
"../../node_modules/.pnpm/eslint-plugin-mdx@3.4.1_eslint@9.25.1_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/helpers.js"() {
|
|
898
898
|
"use strict";
|
|
899
899
|
init_cjs_shims();
|
|
900
900
|
import_node_module4 = require("module");
|
|
901
901
|
getGlobals = (sources, initialGlobals = {}) => (Array.isArray(sources) ? sources : Object.keys(sources)).reduce((globals, source) => Object.assign(globals, {
|
|
902
902
|
[source]: false
|
|
903
903
|
}), initialGlobals);
|
|
904
|
-
cjsRequire3 =
|
|
904
|
+
cjsRequire3 = importMetaUrl ? (0, import_node_module4.createRequire)(importMetaUrl) : require;
|
|
905
905
|
}
|
|
906
906
|
});
|
|
907
907
|
|
|
908
|
-
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.
|
|
908
|
+
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.1_eslint@9.25.1_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/configs/overrides.js
|
|
909
909
|
var isReactPluginAvailable, overrides;
|
|
910
910
|
var init_overrides = __esm({
|
|
911
|
-
"../../node_modules/.pnpm/eslint-plugin-mdx@3.4.
|
|
911
|
+
"../../node_modules/.pnpm/eslint-plugin-mdx@3.4.1_eslint@9.25.1_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/configs/overrides.js"() {
|
|
912
912
|
"use strict";
|
|
913
913
|
init_cjs_shims();
|
|
914
914
|
init_lib3();
|
|
@@ -939,10 +939,10 @@ var init_overrides = __esm({
|
|
|
939
939
|
}
|
|
940
940
|
});
|
|
941
941
|
|
|
942
|
-
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.
|
|
942
|
+
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.1_eslint@9.25.1_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/configs/recommended.js
|
|
943
943
|
var overrides2, recommended, addPrettierRules;
|
|
944
944
|
var init_recommended = __esm({
|
|
945
|
-
"../../node_modules/.pnpm/eslint-plugin-mdx@3.4.
|
|
945
|
+
"../../node_modules/.pnpm/eslint-plugin-mdx@3.4.1_eslint@9.25.1_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/configs/recommended.js"() {
|
|
946
946
|
"use strict";
|
|
947
947
|
init_cjs_shims();
|
|
948
948
|
init_helpers4();
|
|
@@ -998,10 +998,10 @@ var init_recommended = __esm({
|
|
|
998
998
|
}
|
|
999
999
|
});
|
|
1000
1000
|
|
|
1001
|
-
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.
|
|
1001
|
+
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.1_eslint@9.25.1_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/configs/index.js
|
|
1002
1002
|
var configs;
|
|
1003
1003
|
var init_configs = __esm({
|
|
1004
|
-
"../../node_modules/.pnpm/eslint-plugin-mdx@3.4.
|
|
1004
|
+
"../../node_modules/.pnpm/eslint-plugin-mdx@3.4.1_eslint@9.25.1_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/configs/index.js"() {
|
|
1005
1005
|
"use strict";
|
|
1006
1006
|
init_cjs_shims();
|
|
1007
1007
|
init_base();
|
|
@@ -1021,10 +1021,10 @@ var init_configs = __esm({
|
|
|
1021
1021
|
}
|
|
1022
1022
|
});
|
|
1023
1023
|
|
|
1024
|
-
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.
|
|
1024
|
+
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.1_eslint@9.25.1_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/meta.js
|
|
1025
1025
|
var pkg2, meta2;
|
|
1026
1026
|
var init_meta2 = __esm({
|
|
1027
|
-
"../../node_modules/.pnpm/eslint-plugin-mdx@3.4.
|
|
1027
|
+
"../../node_modules/.pnpm/eslint-plugin-mdx@3.4.1_eslint@9.25.1_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/meta.js"() {
|
|
1028
1028
|
"use strict";
|
|
1029
1029
|
init_cjs_shims();
|
|
1030
1030
|
init_helpers4();
|
|
@@ -1033,7 +1033,7 @@ var init_meta2 = __esm({
|
|
|
1033
1033
|
}
|
|
1034
1034
|
});
|
|
1035
1035
|
|
|
1036
|
-
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.
|
|
1036
|
+
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.1_eslint@9.25.1_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/processors/helpers.js
|
|
1037
1037
|
function getShortLang(filename, languageMapper) {
|
|
1038
1038
|
const language = filename.split(".").at(-1);
|
|
1039
1039
|
if (languageMapper === false) {
|
|
@@ -1049,7 +1049,7 @@ function getShortLang(filename, languageMapper) {
|
|
|
1049
1049
|
}
|
|
1050
1050
|
var DEFAULT_LANGUAGE_MAPPER;
|
|
1051
1051
|
var init_helpers5 = __esm({
|
|
1052
|
-
"../../node_modules/.pnpm/eslint-plugin-mdx@3.4.
|
|
1052
|
+
"../../node_modules/.pnpm/eslint-plugin-mdx@3.4.1_eslint@9.25.1_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/processors/helpers.js"() {
|
|
1053
1053
|
"use strict";
|
|
1054
1054
|
init_cjs_shims();
|
|
1055
1055
|
DEFAULT_LANGUAGE_MAPPER = {
|
|
@@ -1067,10 +1067,10 @@ var init_helpers5 = __esm({
|
|
|
1067
1067
|
}
|
|
1068
1068
|
});
|
|
1069
1069
|
|
|
1070
|
-
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.
|
|
1070
|
+
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.1_eslint@9.25.1_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/from-markdown.js
|
|
1071
1071
|
var fromMarkdown;
|
|
1072
1072
|
var init_from_markdown = __esm({
|
|
1073
|
-
"../../node_modules/.pnpm/eslint-plugin-mdx@3.4.
|
|
1073
|
+
"../../node_modules/.pnpm/eslint-plugin-mdx@3.4.1_eslint@9.25.1_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/from-markdown.js"() {
|
|
1074
1074
|
"use strict";
|
|
1075
1075
|
init_cjs_shims();
|
|
1076
1076
|
init_lib2();
|
|
@@ -1079,7 +1079,7 @@ var init_from_markdown = __esm({
|
|
|
1079
1079
|
}
|
|
1080
1080
|
});
|
|
1081
1081
|
|
|
1082
|
-
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.
|
|
1082
|
+
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.1_eslint@9.25.1_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/processors/markdown.js
|
|
1083
1083
|
function traverse(node, callbacks) {
|
|
1084
1084
|
if (callbacks[node.type]) {
|
|
1085
1085
|
callbacks[node.type](node);
|
|
@@ -1262,7 +1262,7 @@ function postprocess(messages, filename) {
|
|
|
1262
1262
|
}
|
|
1263
1263
|
var UNSATISFIABLE_RULES, SUPPORTS_AUTOFIX, BOM, blocksCache, COMMENTS, eslintCommentRegex, leadingWhitespaceRegex, codeBlockFileNameRegex, markdownProcessor;
|
|
1264
1264
|
var init_markdown = __esm({
|
|
1265
|
-
"../../node_modules/.pnpm/eslint-plugin-mdx@3.4.
|
|
1265
|
+
"../../node_modules/.pnpm/eslint-plugin-mdx@3.4.1_eslint@9.25.1_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/processors/markdown.js"() {
|
|
1266
1266
|
"use strict";
|
|
1267
1267
|
init_cjs_shims();
|
|
1268
1268
|
init_from_markdown();
|
|
@@ -1286,7 +1286,7 @@ var init_markdown = __esm({
|
|
|
1286
1286
|
];
|
|
1287
1287
|
eslintCommentRegex = /^(?:eslint\b|global\s)/u;
|
|
1288
1288
|
leadingWhitespaceRegex = /^[>\s]*/u;
|
|
1289
|
-
codeBlockFileNameRegex = /filename=(?<quote>["'])(?<filename>.*?)\
|
|
1289
|
+
codeBlockFileNameRegex = /filename=(?<quote>["'])(?<filename>.*?)\k<quote>/u;
|
|
1290
1290
|
markdownProcessor = {
|
|
1291
1291
|
meta: {
|
|
1292
1292
|
name: "mdx/markdown",
|
|
@@ -1299,10 +1299,10 @@ var init_markdown = __esm({
|
|
|
1299
1299
|
}
|
|
1300
1300
|
});
|
|
1301
1301
|
|
|
1302
|
-
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.
|
|
1302
|
+
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.1_eslint@9.25.1_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/processors/options.js
|
|
1303
1303
|
var processorOptions, linterPath, ESLinter, verify;
|
|
1304
1304
|
var init_options = __esm({
|
|
1305
|
-
"../../node_modules/.pnpm/eslint-plugin-mdx@3.4.
|
|
1305
|
+
"../../node_modules/.pnpm/eslint-plugin-mdx@3.4.1_eslint@9.25.1_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/processors/options.js"() {
|
|
1306
1306
|
"use strict";
|
|
1307
1307
|
init_cjs_shims();
|
|
1308
1308
|
init_helpers4();
|
|
@@ -1322,10 +1322,10 @@ var init_options = __esm({
|
|
|
1322
1322
|
}
|
|
1323
1323
|
});
|
|
1324
1324
|
|
|
1325
|
-
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.
|
|
1325
|
+
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.1_eslint@9.25.1_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/processors/remark.js
|
|
1326
1326
|
var createRemarkProcessor, remark;
|
|
1327
1327
|
var init_remark = __esm({
|
|
1328
|
-
"../../node_modules/.pnpm/eslint-plugin-mdx@3.4.
|
|
1328
|
+
"../../node_modules/.pnpm/eslint-plugin-mdx@3.4.1_eslint@9.25.1_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/processors/remark.js"() {
|
|
1329
1329
|
"use strict";
|
|
1330
1330
|
init_cjs_shims();
|
|
1331
1331
|
init_meta2();
|
|
@@ -1373,10 +1373,10 @@ var init_remark = __esm({
|
|
|
1373
1373
|
}
|
|
1374
1374
|
});
|
|
1375
1375
|
|
|
1376
|
-
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.
|
|
1376
|
+
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.1_eslint@9.25.1_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/processors/index.js
|
|
1377
1377
|
var processors;
|
|
1378
1378
|
var init_processors = __esm({
|
|
1379
|
-
"../../node_modules/.pnpm/eslint-plugin-mdx@3.4.
|
|
1379
|
+
"../../node_modules/.pnpm/eslint-plugin-mdx@3.4.1_eslint@9.25.1_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/processors/index.js"() {
|
|
1380
1380
|
"use strict";
|
|
1381
1381
|
init_cjs_shims();
|
|
1382
1382
|
init_remark();
|
|
@@ -1387,10 +1387,10 @@ var init_processors = __esm({
|
|
|
1387
1387
|
}
|
|
1388
1388
|
});
|
|
1389
1389
|
|
|
1390
|
-
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.
|
|
1390
|
+
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.1_eslint@9.25.1_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/rules/remark.js
|
|
1391
1391
|
var import_node_path6, remark2;
|
|
1392
1392
|
var init_remark2 = __esm({
|
|
1393
|
-
"../../node_modules/.pnpm/eslint-plugin-mdx@3.4.
|
|
1393
|
+
"../../node_modules/.pnpm/eslint-plugin-mdx@3.4.1_eslint@9.25.1_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/rules/remark.js"() {
|
|
1394
1394
|
"use strict";
|
|
1395
1395
|
init_cjs_shims();
|
|
1396
1396
|
import_node_path6 = __toESM(require("path"), 1);
|
|
@@ -1470,10 +1470,10 @@ var init_remark2 = __esm({
|
|
|
1470
1470
|
}
|
|
1471
1471
|
});
|
|
1472
1472
|
|
|
1473
|
-
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.
|
|
1473
|
+
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.1_eslint@9.25.1_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/rules/index.js
|
|
1474
1474
|
var rules;
|
|
1475
1475
|
var init_rules = __esm({
|
|
1476
|
-
"../../node_modules/.pnpm/eslint-plugin-mdx@3.4.
|
|
1476
|
+
"../../node_modules/.pnpm/eslint-plugin-mdx@3.4.1_eslint@9.25.1_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/rules/index.js"() {
|
|
1477
1477
|
"use strict";
|
|
1478
1478
|
init_cjs_shims();
|
|
1479
1479
|
init_remark2();
|
|
@@ -1481,7 +1481,7 @@ var init_rules = __esm({
|
|
|
1481
1481
|
}
|
|
1482
1482
|
});
|
|
1483
1483
|
|
|
1484
|
-
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.
|
|
1484
|
+
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.1_eslint@9.25.1_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/index.js
|
|
1485
1485
|
var lib_exports2 = {};
|
|
1486
1486
|
__export(lib_exports2, {
|
|
1487
1487
|
DEFAULT_LANGUAGE_MAPPER: () => DEFAULT_LANGUAGE_MAPPER,
|
|
@@ -1503,7 +1503,7 @@ __export(lib_exports2, {
|
|
|
1503
1503
|
rules: () => rules
|
|
1504
1504
|
});
|
|
1505
1505
|
var init_lib4 = __esm({
|
|
1506
|
-
"../../node_modules/.pnpm/eslint-plugin-mdx@3.4.
|
|
1506
|
+
"../../node_modules/.pnpm/eslint-plugin-mdx@3.4.1_eslint@9.25.1_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/index.js"() {
|
|
1507
1507
|
"use strict";
|
|
1508
1508
|
init_cjs_shims();
|
|
1509
1509
|
init_configs();
|
|
@@ -1607,7 +1607,7 @@ var defuArrayFn = createDefu((object, key, currentValue) => {
|
|
|
1607
1607
|
// src/defaults.ts
|
|
1608
1608
|
init_cjs_shims();
|
|
1609
1609
|
|
|
1610
|
-
// ../../node_modules/.pnpm/eslint-plugin-vue@10.0.0_eslint@9.
|
|
1610
|
+
// ../../node_modules/.pnpm/eslint-plugin-vue@10.0.0_eslint@9.25.1_jiti@2.4.2__vue-eslint-parser@10.1.3_eslint@9.25.1_jiti@2.4.2__/node_modules/eslint-plugin-vue/lib/utils/inline-non-void-elements.json
|
|
1611
1611
|
var inline_non_void_elements_default = [
|
|
1612
1612
|
"a",
|
|
1613
1613
|
"abbr",
|
|
@@ -1750,7 +1750,8 @@ function getPresets(options, mode) {
|
|
|
1750
1750
|
// 问题在于 auto fix 的时候,会直接 remove 整个 import ,而我们想让用户自己去 remove
|
|
1751
1751
|
// 'unused-imports/no-unused-imports': 'error',
|
|
1752
1752
|
// https://typescript-eslint.io/rules/no-unused-vars/
|
|
1753
|
-
"no-unused-vars": "off"
|
|
1753
|
+
"no-unused-vars": "off",
|
|
1754
|
+
"prefer-const": "off"
|
|
1754
1755
|
}
|
|
1755
1756
|
}
|
|
1756
1757
|
});
|
package/dist/index.js
CHANGED
|
@@ -75,7 +75,7 @@ var defuArrayFn = createDefu((object, key, currentValue) => {
|
|
|
75
75
|
}
|
|
76
76
|
});
|
|
77
77
|
|
|
78
|
-
// ../../node_modules/.pnpm/eslint-plugin-vue@10.0.0_eslint@9.
|
|
78
|
+
// ../../node_modules/.pnpm/eslint-plugin-vue@10.0.0_eslint@9.25.1_jiti@2.4.2__vue-eslint-parser@10.1.3_eslint@9.25.1_jiti@2.4.2__/node_modules/eslint-plugin-vue/lib/utils/inline-non-void-elements.json
|
|
79
79
|
var inline_non_void_elements_default = [
|
|
80
80
|
"a",
|
|
81
81
|
"abbr",
|
|
@@ -217,7 +217,8 @@ function getPresets(options, mode) {
|
|
|
217
217
|
// 问题在于 auto fix 的时候,会直接 remove 整个 import ,而我们想让用户自己去 remove
|
|
218
218
|
// 'unused-imports/no-unused-imports': 'error',
|
|
219
219
|
// https://typescript-eslint.io/rules/no-unused-vars/
|
|
220
|
-
"no-unused-vars": "off"
|
|
220
|
+
"no-unused-vars": "off",
|
|
221
|
+
"prefer-const": "off"
|
|
221
222
|
}
|
|
222
223
|
}
|
|
223
224
|
});
|
|
@@ -288,7 +289,7 @@ function getPresets(options, mode) {
|
|
|
288
289
|
});
|
|
289
290
|
}
|
|
290
291
|
if (enableMDX) {
|
|
291
|
-
presets.push((0, antfu_exports.interopDefault)(import("./lib-
|
|
292
|
+
presets.push((0, antfu_exports.interopDefault)(import("./lib-DBKCIEYZ.js")).then((mdx) => {
|
|
292
293
|
return [
|
|
293
294
|
{
|
|
294
295
|
...mdx.flat,
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
__require
|
|
5
5
|
} from "./chunk-Q36VO4VV.js";
|
|
6
6
|
|
|
7
|
-
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.
|
|
7
|
+
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.1_eslint@9.25.1_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/index.js
|
|
8
8
|
var lib_exports2 = {};
|
|
9
9
|
__export(lib_exports2, {
|
|
10
10
|
DEFAULT_LANGUAGE_MAPPER: () => DEFAULT_LANGUAGE_MAPPER,
|
|
@@ -26,7 +26,7 @@ __export(lib_exports2, {
|
|
|
26
26
|
rules: () => rules
|
|
27
27
|
});
|
|
28
28
|
|
|
29
|
-
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.
|
|
29
|
+
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.1_eslint@9.25.1_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/configs/base.js
|
|
30
30
|
var base = {
|
|
31
31
|
parser: "eslint-mdx",
|
|
32
32
|
parserOptions: {
|
|
@@ -41,7 +41,7 @@ var base = {
|
|
|
41
41
|
}
|
|
42
42
|
};
|
|
43
43
|
|
|
44
|
-
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.
|
|
44
|
+
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.1_eslint@9.25.1_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/configs/code-blocks.js
|
|
45
45
|
var codeBlocks = {
|
|
46
46
|
parserOptions: {
|
|
47
47
|
ecmaFeatures: {
|
|
@@ -60,7 +60,7 @@ var codeBlocks = {
|
|
|
60
60
|
}
|
|
61
61
|
};
|
|
62
62
|
|
|
63
|
-
// ../../node_modules/.pnpm/eslint-mdx@3.4.
|
|
63
|
+
// ../../node_modules/.pnpm/eslint-mdx@3.4.1_eslint@9.25.1_jiti@2.4.2_/node_modules/eslint-mdx/lib/index.js
|
|
64
64
|
var lib_exports = {};
|
|
65
65
|
__export(lib_exports, {
|
|
66
66
|
DEFAULT_EXTENSIONS: () => DEFAULT_EXTENSIONS,
|
|
@@ -80,7 +80,7 @@ __export(lib_exports, {
|
|
|
80
80
|
prevCharOffsetFactory: () => prevCharOffsetFactory
|
|
81
81
|
});
|
|
82
82
|
|
|
83
|
-
// ../../node_modules/.pnpm/eslint-mdx@3.4.
|
|
83
|
+
// ../../node_modules/.pnpm/eslint-mdx@3.4.1_eslint@9.25.1_jiti@2.4.2_/node_modules/eslint-mdx/lib/helpers.js
|
|
84
84
|
import fs from "node:fs";
|
|
85
85
|
import { createRequire } from "node:module";
|
|
86
86
|
import path from "node:path";
|
|
@@ -152,13 +152,13 @@ var nextCharOffsetFactory = (text) => {
|
|
|
152
152
|
}
|
|
153
153
|
};
|
|
154
154
|
};
|
|
155
|
-
var cjsRequire =
|
|
155
|
+
var cjsRequire = import.meta.url ? createRequire(import.meta.url) : __require;
|
|
156
156
|
|
|
157
|
-
// ../../node_modules/.pnpm/eslint-mdx@3.4.
|
|
157
|
+
// ../../node_modules/.pnpm/eslint-mdx@3.4.1_eslint@9.25.1_jiti@2.4.2_/node_modules/eslint-mdx/lib/meta.js
|
|
158
158
|
var pkg = cjsRequire("../package.json");
|
|
159
159
|
var meta = { name: pkg.name, version: pkg.version };
|
|
160
160
|
|
|
161
|
-
// ../../node_modules/.pnpm/eslint-mdx@3.4.
|
|
161
|
+
// ../../node_modules/.pnpm/eslint-mdx@3.4.1_eslint@9.25.1_jiti@2.4.2_/node_modules/eslint-mdx/lib/parser.js
|
|
162
162
|
import path5 from "node:path";
|
|
163
163
|
|
|
164
164
|
// ../../node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.mjs
|
|
@@ -174,11 +174,11 @@ function __rest(s, e) {
|
|
|
174
174
|
return t;
|
|
175
175
|
}
|
|
176
176
|
|
|
177
|
-
// ../../node_modules/.pnpm/synckit@0.11.
|
|
177
|
+
// ../../node_modules/.pnpm/synckit@0.11.4/node_modules/synckit/lib/index.js
|
|
178
178
|
import path4 from "node:path";
|
|
179
179
|
import { fileURLToPath as fileURLToPath2 } from "node:url";
|
|
180
180
|
|
|
181
|
-
// ../../node_modules/.pnpm/synckit@0.11.
|
|
181
|
+
// ../../node_modules/.pnpm/synckit@0.11.4/node_modules/synckit/lib/common.js
|
|
182
182
|
var _a;
|
|
183
183
|
var NODE_OPTIONS = (_a = process.env.NODE_OPTIONS) === null || _a === void 0 ? void 0 : _a.split(/\s+/);
|
|
184
184
|
var hasFlag = (flag) => (NODE_OPTIONS === null || NODE_OPTIONS === void 0 ? void 0 : NODE_OPTIONS.includes(flag)) || process.argv.includes(flag);
|
|
@@ -202,7 +202,7 @@ var compareVersion = (version1, version2) => {
|
|
|
202
202
|
var NODE_VERSION = process.versions.node;
|
|
203
203
|
var compareNodeVersion = (version) => compareVersion(NODE_VERSION, version);
|
|
204
204
|
|
|
205
|
-
// ../../node_modules/.pnpm/synckit@0.11.
|
|
205
|
+
// ../../node_modules/.pnpm/synckit@0.11.4/node_modules/synckit/lib/constants.js
|
|
206
206
|
var TsRunner = {
|
|
207
207
|
Node: "node",
|
|
208
208
|
Bun: "bun",
|
|
@@ -251,20 +251,20 @@ var LOADER_FLAGS = /* @__PURE__ */ new Set([LOADER_FLAG, EXPERIMENTAL_LOADER_FLA
|
|
|
251
251
|
var IMPORT_FLAG_SUPPORTED = compareNodeVersion("20.6") >= 0;
|
|
252
252
|
var INT32_BYTES = 4;
|
|
253
253
|
|
|
254
|
-
// ../../node_modules/.pnpm/synckit@0.11.
|
|
254
|
+
// ../../node_modules/.pnpm/synckit@0.11.4/node_modules/synckit/lib/helpers.js
|
|
255
255
|
import { createHash } from "node:crypto";
|
|
256
256
|
import fs3 from "node:fs";
|
|
257
257
|
import path3 from "node:path";
|
|
258
258
|
import { fileURLToPath, pathToFileURL } from "node:url";
|
|
259
259
|
import { MessageChannel, Worker, receiveMessageOnPort } from "node:worker_threads";
|
|
260
260
|
|
|
261
|
-
// ../../node_modules/.pnpm/@pkgr+core@0.2.
|
|
261
|
+
// ../../node_modules/.pnpm/@pkgr+core@0.2.4/node_modules/@pkgr/core/lib/constants.js
|
|
262
262
|
import { createRequire as createRequire2 } from "node:module";
|
|
263
263
|
var CWD = process.cwd();
|
|
264
264
|
var cjsRequire2 = typeof __require === "undefined" ? createRequire2(import.meta.url) : __require;
|
|
265
265
|
var EXTENSIONS = [".ts", ".tsx", ...Object.keys(cjsRequire2.extensions)];
|
|
266
266
|
|
|
267
|
-
// ../../node_modules/.pnpm/@pkgr+core@0.2.
|
|
267
|
+
// ../../node_modules/.pnpm/@pkgr+core@0.2.4/node_modules/@pkgr/core/lib/helpers.js
|
|
268
268
|
import fs2 from "node:fs";
|
|
269
269
|
import path2 from "node:path";
|
|
270
270
|
var tryPkg = (pkg3) => {
|
|
@@ -309,7 +309,7 @@ var findUp = (searchEntry, searchFileOrIncludeDir, includeDir) => {
|
|
|
309
309
|
return "";
|
|
310
310
|
};
|
|
311
311
|
|
|
312
|
-
// ../../node_modules/.pnpm/synckit@0.11.
|
|
312
|
+
// ../../node_modules/.pnpm/synckit@0.11.4/node_modules/synckit/lib/helpers.js
|
|
313
313
|
var isFile = (path7) => {
|
|
314
314
|
var _a2;
|
|
315
315
|
try {
|
|
@@ -631,7 +631,7 @@ function startWorkerThread(workerPath, { timeout = DEFAULT_TIMEOUT, execArgv = D
|
|
|
631
631
|
return syncFn;
|
|
632
632
|
}
|
|
633
633
|
|
|
634
|
-
// ../../node_modules/.pnpm/synckit@0.11.
|
|
634
|
+
// ../../node_modules/.pnpm/synckit@0.11.4/node_modules/synckit/lib/index.js
|
|
635
635
|
var syncFnCache;
|
|
636
636
|
function createSyncFn(workerPath, timeoutOrOptions) {
|
|
637
637
|
syncFnCache !== null && syncFnCache !== void 0 ? syncFnCache : syncFnCache = /* @__PURE__ */ new Map();
|
|
@@ -650,10 +650,10 @@ function createSyncFn(workerPath, timeoutOrOptions) {
|
|
|
650
650
|
return syncFn;
|
|
651
651
|
}
|
|
652
652
|
|
|
653
|
-
// ../../node_modules/.pnpm/eslint-mdx@3.4.
|
|
653
|
+
// ../../node_modules/.pnpm/eslint-mdx@3.4.1_eslint@9.25.1_jiti@2.4.2_/node_modules/eslint-mdx/lib/sync.js
|
|
654
654
|
var performSyncWork = createSyncFn(cjsRequire.resolve("./worker.js"));
|
|
655
655
|
|
|
656
|
-
// ../../node_modules/.pnpm/eslint-mdx@3.4.
|
|
656
|
+
// ../../node_modules/.pnpm/eslint-mdx@3.4.1_eslint@9.25.1_jiti@2.4.2_/node_modules/eslint-mdx/lib/parser.js
|
|
657
657
|
var DEFAULT_EXTENSIONS = [".mdx"];
|
|
658
658
|
var MARKDOWN_EXTENSIONS = [".md"];
|
|
659
659
|
var Parser = class {
|
|
@@ -712,7 +712,7 @@ var Parser = class {
|
|
|
712
712
|
var parser = new Parser();
|
|
713
713
|
var { parse, parseForESLint } = parser;
|
|
714
714
|
|
|
715
|
-
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.
|
|
715
|
+
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.1_eslint@9.25.1_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/configs/flat.js
|
|
716
716
|
var flat = {
|
|
717
717
|
files: ["**/*.{md,mdx}"],
|
|
718
718
|
languageOptions: {
|
|
@@ -741,14 +741,14 @@ var flatCodeBlocks = {
|
|
|
741
741
|
...restConfig
|
|
742
742
|
};
|
|
743
743
|
|
|
744
|
-
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.
|
|
744
|
+
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.1_eslint@9.25.1_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/helpers.js
|
|
745
745
|
import { createRequire as createRequire3 } from "node:module";
|
|
746
746
|
var getGlobals = (sources, initialGlobals = {}) => (Array.isArray(sources) ? sources : Object.keys(sources)).reduce((globals, source) => Object.assign(globals, {
|
|
747
747
|
[source]: false
|
|
748
748
|
}), initialGlobals);
|
|
749
|
-
var cjsRequire3 =
|
|
749
|
+
var cjsRequire3 = import.meta.url ? createRequire3(import.meta.url) : __require;
|
|
750
750
|
|
|
751
|
-
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.
|
|
751
|
+
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.1_eslint@9.25.1_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/configs/overrides.js
|
|
752
752
|
var isReactPluginAvailable = false;
|
|
753
753
|
try {
|
|
754
754
|
cjsRequire3.resolve("eslint-plugin-react");
|
|
@@ -772,7 +772,7 @@ var overrides = {
|
|
|
772
772
|
}
|
|
773
773
|
};
|
|
774
774
|
|
|
775
|
-
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.
|
|
775
|
+
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.1_eslint@9.25.1_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/configs/recommended.js
|
|
776
776
|
var overrides2 = [
|
|
777
777
|
{
|
|
778
778
|
files: ["*.md", "*.mdx"],
|
|
@@ -822,7 +822,7 @@ var addPrettierRules = () => {
|
|
|
822
822
|
};
|
|
823
823
|
addPrettierRules();
|
|
824
824
|
|
|
825
|
-
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.
|
|
825
|
+
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.1_eslint@9.25.1_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/configs/index.js
|
|
826
826
|
var configs = {
|
|
827
827
|
base,
|
|
828
828
|
"code-blocks": codeBlocks,
|
|
@@ -833,11 +833,11 @@ var configs = {
|
|
|
833
833
|
recommended
|
|
834
834
|
};
|
|
835
835
|
|
|
836
|
-
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.
|
|
836
|
+
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.1_eslint@9.25.1_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/meta.js
|
|
837
837
|
var pkg2 = cjsRequire3("../package.json");
|
|
838
838
|
var meta2 = { name: pkg2.name, version: pkg2.version };
|
|
839
839
|
|
|
840
|
-
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.
|
|
840
|
+
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.1_eslint@9.25.1_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/processors/helpers.js
|
|
841
841
|
var DEFAULT_LANGUAGE_MAPPER = {
|
|
842
842
|
ecmascript: "js",
|
|
843
843
|
javascript: "js",
|
|
@@ -864,10 +864,10 @@ function getShortLang(filename, languageMapper) {
|
|
|
864
864
|
return languageMapper[lang] || lang;
|
|
865
865
|
}
|
|
866
866
|
|
|
867
|
-
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.
|
|
867
|
+
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.1_eslint@9.25.1_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/from-markdown.js
|
|
868
868
|
var fromMarkdown = createSyncFn(cjsRequire3.resolve("./worker.js"));
|
|
869
869
|
|
|
870
|
-
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.
|
|
870
|
+
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.1_eslint@9.25.1_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/processors/markdown.js
|
|
871
871
|
var UNSATISFIABLE_RULES = /* @__PURE__ */ new Set([
|
|
872
872
|
"eol-last",
|
|
873
873
|
"unicode-bom"
|
|
@@ -948,7 +948,7 @@ function getBlockRangeMap(text, node, comments) {
|
|
|
948
948
|
}
|
|
949
949
|
return rangeMap;
|
|
950
950
|
}
|
|
951
|
-
var codeBlockFileNameRegex = /filename=(?<quote>["'])(?<filename>.*?)\
|
|
951
|
+
var codeBlockFileNameRegex = /filename=(?<quote>["'])(?<filename>.*?)\k<quote>/u;
|
|
952
952
|
function fileNameFromMeta(block) {
|
|
953
953
|
return codeBlockFileNameRegex.exec(block.meta)?.groups.filename.replaceAll(/\s+/gu, "_");
|
|
954
954
|
}
|
|
@@ -1078,7 +1078,7 @@ var markdownProcessor = {
|
|
|
1078
1078
|
supportsAutofix: SUPPORTS_AUTOFIX
|
|
1079
1079
|
};
|
|
1080
1080
|
|
|
1081
|
-
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.
|
|
1081
|
+
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.1_eslint@9.25.1_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/processors/options.js
|
|
1082
1082
|
var processorOptions = {};
|
|
1083
1083
|
var linterPath = Object.keys(cjsRequire3.cache).find((path7) => /([/\\])eslint\1lib(?:\1linter){2}\.js$/.test(path7));
|
|
1084
1084
|
if (!linterPath) {
|
|
@@ -1093,7 +1093,7 @@ ESLinter.prototype.verify = function(code, config, options) {
|
|
|
1093
1093
|
return verify.call(this, code, config, options);
|
|
1094
1094
|
};
|
|
1095
1095
|
|
|
1096
|
-
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.
|
|
1096
|
+
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.1_eslint@9.25.1_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/processors/remark.js
|
|
1097
1097
|
var createRemarkProcessor = (processorOptions2 = processorOptions) => ({
|
|
1098
1098
|
meta: {
|
|
1099
1099
|
name: "mdx/remark",
|
|
@@ -1133,10 +1133,10 @@ var createRemarkProcessor = (processorOptions2 = processorOptions) => ({
|
|
|
1133
1133
|
});
|
|
1134
1134
|
var remark = createRemarkProcessor();
|
|
1135
1135
|
|
|
1136
|
-
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.
|
|
1136
|
+
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.1_eslint@9.25.1_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/processors/index.js
|
|
1137
1137
|
var processors = { remark };
|
|
1138
1138
|
|
|
1139
|
-
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.
|
|
1139
|
+
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.1_eslint@9.25.1_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/rules/remark.js
|
|
1140
1140
|
import path6 from "node:path";
|
|
1141
1141
|
var remark2 = {
|
|
1142
1142
|
meta: {
|
|
@@ -1211,7 +1211,7 @@ var remark2 = {
|
|
|
1211
1211
|
}
|
|
1212
1212
|
};
|
|
1213
1213
|
|
|
1214
|
-
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.
|
|
1214
|
+
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.1_eslint@9.25.1_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/rules/index.js
|
|
1215
1215
|
var rules = { remark: remark2 };
|
|
1216
1216
|
export {
|
|
1217
1217
|
DEFAULT_LANGUAGE_MAPPER,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@icebreakers/eslint-config",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.1.
|
|
4
|
+
"version": "1.1.2",
|
|
5
5
|
"description": "icebreakers's eslint config",
|
|
6
6
|
"author": "ice breaker <1324318532@qq.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -41,17 +41,17 @@
|
|
|
41
41
|
],
|
|
42
42
|
"dependencies": {
|
|
43
43
|
"@antfu/eslint-config": "4.12.0",
|
|
44
|
-
"@eslint-react/eslint-plugin": "^1.
|
|
44
|
+
"@eslint-react/eslint-plugin": "^1.48.5",
|
|
45
45
|
"eslint-plugin-format": "1.0.1",
|
|
46
46
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
47
47
|
"eslint-plugin-react-hooks": "^5.2.0",
|
|
48
|
-
"eslint-plugin-react-refresh": "^0.4.
|
|
48
|
+
"eslint-plugin-react-refresh": "^0.4.20",
|
|
49
49
|
"eslint-plugin-tailwindcss": "3.18.0",
|
|
50
50
|
"eslint-plugin-vuejs-accessibility": "^2.4.1"
|
|
51
51
|
},
|
|
52
52
|
"optionalDependencies": {
|
|
53
|
-
"@unocss/eslint-plugin": "66.1.0-beta.
|
|
54
|
-
"eslint-plugin-mdx": "3.4.
|
|
53
|
+
"@unocss/eslint-plugin": "66.1.0-beta.12",
|
|
54
|
+
"eslint-plugin-mdx": "3.4.1"
|
|
55
55
|
},
|
|
56
56
|
"publishConfig": {
|
|
57
57
|
"access": "public",
|