@icebreakers/eslint-config 1.1.4 → 1.1.6
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 +47 -47
- package/dist/index.js +4 -4
- package/dist/{lib-ZGYOUFM5.js → lib-BO2HXJP7.js} +23 -23
- package/package.json +4 -4
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.2_eslint@9.
|
|
44
|
+
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.2_eslint@9.28.0_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.2_eslint@9.
|
|
47
|
+
"../../node_modules/.pnpm/eslint-plugin-mdx@3.4.2_eslint@9.28.0_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.2_eslint@9.
|
|
66
|
+
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.2_eslint@9.28.0_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.2_eslint@9.
|
|
69
|
+
"../../node_modules/.pnpm/eslint-plugin-mdx@3.4.2_eslint@9.28.0_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.2_eslint@9.
|
|
92
|
+
// ../../node_modules/.pnpm/eslint-mdx@3.4.2_eslint@9.28.0_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, importMetaUrl2, cjsRequire;
|
|
94
94
|
var init_helpers = __esm({
|
|
95
|
-
"../../node_modules/.pnpm/eslint-mdx@3.4.2_eslint@9.
|
|
95
|
+
"../../node_modules/.pnpm/eslint-mdx@3.4.2_eslint@9.28.0_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);
|
|
@@ -171,10 +171,10 @@ var init_helpers = __esm({
|
|
|
171
171
|
}
|
|
172
172
|
});
|
|
173
173
|
|
|
174
|
-
// ../../node_modules/.pnpm/eslint-mdx@3.4.2_eslint@9.
|
|
174
|
+
// ../../node_modules/.pnpm/eslint-mdx@3.4.2_eslint@9.28.0_jiti@2.4.2_/node_modules/eslint-mdx/lib/meta.js
|
|
175
175
|
var pkg, meta;
|
|
176
176
|
var init_meta = __esm({
|
|
177
|
-
"../../node_modules/.pnpm/eslint-mdx@3.4.2_eslint@9.
|
|
177
|
+
"../../node_modules/.pnpm/eslint-mdx@3.4.2_eslint@9.28.0_jiti@2.4.2_/node_modules/eslint-mdx/lib/meta.js"() {
|
|
178
178
|
"use strict";
|
|
179
179
|
init_cjs_shims();
|
|
180
180
|
init_helpers();
|
|
@@ -721,10 +721,10 @@ var init_lib2 = __esm({
|
|
|
721
721
|
}
|
|
722
722
|
});
|
|
723
723
|
|
|
724
|
-
// ../../node_modules/.pnpm/eslint-mdx@3.4.2_eslint@9.
|
|
724
|
+
// ../../node_modules/.pnpm/eslint-mdx@3.4.2_eslint@9.28.0_jiti@2.4.2_/node_modules/eslint-mdx/lib/sync.js
|
|
725
725
|
var performSyncWork;
|
|
726
726
|
var init_sync = __esm({
|
|
727
|
-
"../../node_modules/.pnpm/eslint-mdx@3.4.2_eslint@9.
|
|
727
|
+
"../../node_modules/.pnpm/eslint-mdx@3.4.2_eslint@9.28.0_jiti@2.4.2_/node_modules/eslint-mdx/lib/sync.js"() {
|
|
728
728
|
"use strict";
|
|
729
729
|
init_cjs_shims();
|
|
730
730
|
init_lib2();
|
|
@@ -733,10 +733,10 @@ var init_sync = __esm({
|
|
|
733
733
|
}
|
|
734
734
|
});
|
|
735
735
|
|
|
736
|
-
// ../../node_modules/.pnpm/eslint-mdx@3.4.2_eslint@9.
|
|
736
|
+
// ../../node_modules/.pnpm/eslint-mdx@3.4.2_eslint@9.28.0_jiti@2.4.2_/node_modules/eslint-mdx/lib/parser.js
|
|
737
737
|
var import_node_path5, DEFAULT_EXTENSIONS, MARKDOWN_EXTENSIONS, Parser, parser, parse, parseForESLint;
|
|
738
738
|
var init_parser = __esm({
|
|
739
|
-
"../../node_modules/.pnpm/eslint-mdx@3.4.2_eslint@9.
|
|
739
|
+
"../../node_modules/.pnpm/eslint-mdx@3.4.2_eslint@9.28.0_jiti@2.4.2_/node_modules/eslint-mdx/lib/parser.js"() {
|
|
740
740
|
"use strict";
|
|
741
741
|
init_cjs_shims();
|
|
742
742
|
import_node_path5 = __toESM(require("path"), 1);
|
|
@@ -802,7 +802,7 @@ var init_parser = __esm({
|
|
|
802
802
|
}
|
|
803
803
|
});
|
|
804
804
|
|
|
805
|
-
// ../../node_modules/.pnpm/eslint-mdx@3.4.2_eslint@9.
|
|
805
|
+
// ../../node_modules/.pnpm/eslint-mdx@3.4.2_eslint@9.28.0_jiti@2.4.2_/node_modules/eslint-mdx/lib/index.js
|
|
806
806
|
var lib_exports = {};
|
|
807
807
|
__export(lib_exports, {
|
|
808
808
|
DEFAULT_EXTENSIONS: () => DEFAULT_EXTENSIONS,
|
|
@@ -822,7 +822,7 @@ __export(lib_exports, {
|
|
|
822
822
|
prevCharOffsetFactory: () => prevCharOffsetFactory
|
|
823
823
|
});
|
|
824
824
|
var init_lib3 = __esm({
|
|
825
|
-
"../../node_modules/.pnpm/eslint-mdx@3.4.2_eslint@9.
|
|
825
|
+
"../../node_modules/.pnpm/eslint-mdx@3.4.2_eslint@9.28.0_jiti@2.4.2_/node_modules/eslint-mdx/lib/index.js"() {
|
|
826
826
|
"use strict";
|
|
827
827
|
init_cjs_shims();
|
|
828
828
|
init_helpers();
|
|
@@ -832,10 +832,10 @@ var init_lib3 = __esm({
|
|
|
832
832
|
}
|
|
833
833
|
});
|
|
834
834
|
|
|
835
|
-
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.2_eslint@9.
|
|
835
|
+
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.2_eslint@9.28.0_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/configs/flat.js
|
|
836
836
|
var flat, parserOptions, restConfig, flatCodeBlocks;
|
|
837
837
|
var init_flat = __esm({
|
|
838
|
-
"../../node_modules/.pnpm/eslint-plugin-mdx@3.4.2_eslint@9.
|
|
838
|
+
"../../node_modules/.pnpm/eslint-plugin-mdx@3.4.2_eslint@9.28.0_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/configs/flat.js"() {
|
|
839
839
|
"use strict";
|
|
840
840
|
init_cjs_shims();
|
|
841
841
|
init_lib3();
|
|
@@ -871,10 +871,10 @@ var init_flat = __esm({
|
|
|
871
871
|
}
|
|
872
872
|
});
|
|
873
873
|
|
|
874
|
-
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.2_eslint@9.
|
|
874
|
+
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.2_eslint@9.28.0_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/helpers.js
|
|
875
875
|
var import_node_module4, getGlobals, importMetaUrl3, cjsRequire3;
|
|
876
876
|
var init_helpers4 = __esm({
|
|
877
|
-
"../../node_modules/.pnpm/eslint-plugin-mdx@3.4.2_eslint@9.
|
|
877
|
+
"../../node_modules/.pnpm/eslint-plugin-mdx@3.4.2_eslint@9.28.0_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/helpers.js"() {
|
|
878
878
|
"use strict";
|
|
879
879
|
init_cjs_shims();
|
|
880
880
|
import_node_module4 = require("module");
|
|
@@ -886,10 +886,10 @@ var init_helpers4 = __esm({
|
|
|
886
886
|
}
|
|
887
887
|
});
|
|
888
888
|
|
|
889
|
-
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.2_eslint@9.
|
|
889
|
+
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.2_eslint@9.28.0_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/configs/overrides.js
|
|
890
890
|
var isReactPluginAvailable, overrides;
|
|
891
891
|
var init_overrides = __esm({
|
|
892
|
-
"../../node_modules/.pnpm/eslint-plugin-mdx@3.4.2_eslint@9.
|
|
892
|
+
"../../node_modules/.pnpm/eslint-plugin-mdx@3.4.2_eslint@9.28.0_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/configs/overrides.js"() {
|
|
893
893
|
"use strict";
|
|
894
894
|
init_cjs_shims();
|
|
895
895
|
init_lib3();
|
|
@@ -920,10 +920,10 @@ var init_overrides = __esm({
|
|
|
920
920
|
}
|
|
921
921
|
});
|
|
922
922
|
|
|
923
|
-
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.2_eslint@9.
|
|
923
|
+
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.2_eslint@9.28.0_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/configs/recommended.js
|
|
924
924
|
var overrides2, recommended, addPrettierRules;
|
|
925
925
|
var init_recommended = __esm({
|
|
926
|
-
"../../node_modules/.pnpm/eslint-plugin-mdx@3.4.2_eslint@9.
|
|
926
|
+
"../../node_modules/.pnpm/eslint-plugin-mdx@3.4.2_eslint@9.28.0_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/configs/recommended.js"() {
|
|
927
927
|
"use strict";
|
|
928
928
|
init_cjs_shims();
|
|
929
929
|
init_helpers4();
|
|
@@ -979,10 +979,10 @@ var init_recommended = __esm({
|
|
|
979
979
|
}
|
|
980
980
|
});
|
|
981
981
|
|
|
982
|
-
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.2_eslint@9.
|
|
982
|
+
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.2_eslint@9.28.0_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/configs/index.js
|
|
983
983
|
var configs;
|
|
984
984
|
var init_configs = __esm({
|
|
985
|
-
"../../node_modules/.pnpm/eslint-plugin-mdx@3.4.2_eslint@9.
|
|
985
|
+
"../../node_modules/.pnpm/eslint-plugin-mdx@3.4.2_eslint@9.28.0_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/configs/index.js"() {
|
|
986
986
|
"use strict";
|
|
987
987
|
init_cjs_shims();
|
|
988
988
|
init_base();
|
|
@@ -1002,10 +1002,10 @@ var init_configs = __esm({
|
|
|
1002
1002
|
}
|
|
1003
1003
|
});
|
|
1004
1004
|
|
|
1005
|
-
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.2_eslint@9.
|
|
1005
|
+
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.2_eslint@9.28.0_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/meta.js
|
|
1006
1006
|
var pkg2, meta2;
|
|
1007
1007
|
var init_meta2 = __esm({
|
|
1008
|
-
"../../node_modules/.pnpm/eslint-plugin-mdx@3.4.2_eslint@9.
|
|
1008
|
+
"../../node_modules/.pnpm/eslint-plugin-mdx@3.4.2_eslint@9.28.0_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/meta.js"() {
|
|
1009
1009
|
"use strict";
|
|
1010
1010
|
init_cjs_shims();
|
|
1011
1011
|
init_helpers4();
|
|
@@ -1014,7 +1014,7 @@ var init_meta2 = __esm({
|
|
|
1014
1014
|
}
|
|
1015
1015
|
});
|
|
1016
1016
|
|
|
1017
|
-
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.2_eslint@9.
|
|
1017
|
+
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.2_eslint@9.28.0_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/processors/helpers.js
|
|
1018
1018
|
function getShortLang(filename, languageMapper) {
|
|
1019
1019
|
const language = filename.split(".").at(-1);
|
|
1020
1020
|
if (languageMapper === false) {
|
|
@@ -1030,7 +1030,7 @@ function getShortLang(filename, languageMapper) {
|
|
|
1030
1030
|
}
|
|
1031
1031
|
var DEFAULT_LANGUAGE_MAPPER;
|
|
1032
1032
|
var init_helpers5 = __esm({
|
|
1033
|
-
"../../node_modules/.pnpm/eslint-plugin-mdx@3.4.2_eslint@9.
|
|
1033
|
+
"../../node_modules/.pnpm/eslint-plugin-mdx@3.4.2_eslint@9.28.0_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/processors/helpers.js"() {
|
|
1034
1034
|
"use strict";
|
|
1035
1035
|
init_cjs_shims();
|
|
1036
1036
|
DEFAULT_LANGUAGE_MAPPER = {
|
|
@@ -1048,10 +1048,10 @@ var init_helpers5 = __esm({
|
|
|
1048
1048
|
}
|
|
1049
1049
|
});
|
|
1050
1050
|
|
|
1051
|
-
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.2_eslint@9.
|
|
1051
|
+
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.2_eslint@9.28.0_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/from-markdown.js
|
|
1052
1052
|
var fromMarkdown;
|
|
1053
1053
|
var init_from_markdown = __esm({
|
|
1054
|
-
"../../node_modules/.pnpm/eslint-plugin-mdx@3.4.2_eslint@9.
|
|
1054
|
+
"../../node_modules/.pnpm/eslint-plugin-mdx@3.4.2_eslint@9.28.0_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/from-markdown.js"() {
|
|
1055
1055
|
"use strict";
|
|
1056
1056
|
init_cjs_shims();
|
|
1057
1057
|
init_lib2();
|
|
@@ -1060,7 +1060,7 @@ var init_from_markdown = __esm({
|
|
|
1060
1060
|
}
|
|
1061
1061
|
});
|
|
1062
1062
|
|
|
1063
|
-
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.2_eslint@9.
|
|
1063
|
+
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.2_eslint@9.28.0_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/processors/markdown.js
|
|
1064
1064
|
function traverse(node, callbacks) {
|
|
1065
1065
|
if (callbacks[node.type]) {
|
|
1066
1066
|
callbacks[node.type](node);
|
|
@@ -1243,7 +1243,7 @@ function postprocess(messages, filename) {
|
|
|
1243
1243
|
}
|
|
1244
1244
|
var UNSATISFIABLE_RULES, SUPPORTS_AUTOFIX, BOM, blocksCache, COMMENTS, eslintCommentRegex, leadingWhitespaceRegex, codeBlockFileNameRegex, markdownProcessor;
|
|
1245
1245
|
var init_markdown = __esm({
|
|
1246
|
-
"../../node_modules/.pnpm/eslint-plugin-mdx@3.4.2_eslint@9.
|
|
1246
|
+
"../../node_modules/.pnpm/eslint-plugin-mdx@3.4.2_eslint@9.28.0_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/processors/markdown.js"() {
|
|
1247
1247
|
"use strict";
|
|
1248
1248
|
init_cjs_shims();
|
|
1249
1249
|
init_from_markdown();
|
|
@@ -1280,10 +1280,10 @@ var init_markdown = __esm({
|
|
|
1280
1280
|
}
|
|
1281
1281
|
});
|
|
1282
1282
|
|
|
1283
|
-
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.2_eslint@9.
|
|
1283
|
+
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.2_eslint@9.28.0_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/processors/options.js
|
|
1284
1284
|
var processorOptions, linterPath, ESLinter, verify;
|
|
1285
1285
|
var init_options = __esm({
|
|
1286
|
-
"../../node_modules/.pnpm/eslint-plugin-mdx@3.4.2_eslint@9.
|
|
1286
|
+
"../../node_modules/.pnpm/eslint-plugin-mdx@3.4.2_eslint@9.28.0_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/processors/options.js"() {
|
|
1287
1287
|
"use strict";
|
|
1288
1288
|
init_cjs_shims();
|
|
1289
1289
|
init_helpers4();
|
|
@@ -1303,10 +1303,10 @@ var init_options = __esm({
|
|
|
1303
1303
|
}
|
|
1304
1304
|
});
|
|
1305
1305
|
|
|
1306
|
-
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.2_eslint@9.
|
|
1306
|
+
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.2_eslint@9.28.0_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/processors/remark.js
|
|
1307
1307
|
var createRemarkProcessor, remark;
|
|
1308
1308
|
var init_remark = __esm({
|
|
1309
|
-
"../../node_modules/.pnpm/eslint-plugin-mdx@3.4.2_eslint@9.
|
|
1309
|
+
"../../node_modules/.pnpm/eslint-plugin-mdx@3.4.2_eslint@9.28.0_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/processors/remark.js"() {
|
|
1310
1310
|
"use strict";
|
|
1311
1311
|
init_cjs_shims();
|
|
1312
1312
|
init_meta2();
|
|
@@ -1354,10 +1354,10 @@ var init_remark = __esm({
|
|
|
1354
1354
|
}
|
|
1355
1355
|
});
|
|
1356
1356
|
|
|
1357
|
-
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.2_eslint@9.
|
|
1357
|
+
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.2_eslint@9.28.0_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/processors/index.js
|
|
1358
1358
|
var processors;
|
|
1359
1359
|
var init_processors = __esm({
|
|
1360
|
-
"../../node_modules/.pnpm/eslint-plugin-mdx@3.4.2_eslint@9.
|
|
1360
|
+
"../../node_modules/.pnpm/eslint-plugin-mdx@3.4.2_eslint@9.28.0_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/processors/index.js"() {
|
|
1361
1361
|
"use strict";
|
|
1362
1362
|
init_cjs_shims();
|
|
1363
1363
|
init_remark();
|
|
@@ -1368,10 +1368,10 @@ var init_processors = __esm({
|
|
|
1368
1368
|
}
|
|
1369
1369
|
});
|
|
1370
1370
|
|
|
1371
|
-
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.2_eslint@9.
|
|
1371
|
+
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.2_eslint@9.28.0_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/rules/remark.js
|
|
1372
1372
|
var import_node_path6, remark2;
|
|
1373
1373
|
var init_remark2 = __esm({
|
|
1374
|
-
"../../node_modules/.pnpm/eslint-plugin-mdx@3.4.2_eslint@9.
|
|
1374
|
+
"../../node_modules/.pnpm/eslint-plugin-mdx@3.4.2_eslint@9.28.0_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/rules/remark.js"() {
|
|
1375
1375
|
"use strict";
|
|
1376
1376
|
init_cjs_shims();
|
|
1377
1377
|
import_node_path6 = __toESM(require("path"), 1);
|
|
@@ -1451,10 +1451,10 @@ var init_remark2 = __esm({
|
|
|
1451
1451
|
}
|
|
1452
1452
|
});
|
|
1453
1453
|
|
|
1454
|
-
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.2_eslint@9.
|
|
1454
|
+
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.2_eslint@9.28.0_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/rules/index.js
|
|
1455
1455
|
var rules;
|
|
1456
1456
|
var init_rules = __esm({
|
|
1457
|
-
"../../node_modules/.pnpm/eslint-plugin-mdx@3.4.2_eslint@9.
|
|
1457
|
+
"../../node_modules/.pnpm/eslint-plugin-mdx@3.4.2_eslint@9.28.0_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/rules/index.js"() {
|
|
1458
1458
|
"use strict";
|
|
1459
1459
|
init_cjs_shims();
|
|
1460
1460
|
init_remark2();
|
|
@@ -1462,7 +1462,7 @@ var init_rules = __esm({
|
|
|
1462
1462
|
}
|
|
1463
1463
|
});
|
|
1464
1464
|
|
|
1465
|
-
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.2_eslint@9.
|
|
1465
|
+
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.2_eslint@9.28.0_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/index.js
|
|
1466
1466
|
var lib_exports2 = {};
|
|
1467
1467
|
__export(lib_exports2, {
|
|
1468
1468
|
DEFAULT_LANGUAGE_MAPPER: () => DEFAULT_LANGUAGE_MAPPER,
|
|
@@ -1484,7 +1484,7 @@ __export(lib_exports2, {
|
|
|
1484
1484
|
rules: () => rules
|
|
1485
1485
|
});
|
|
1486
1486
|
var init_lib4 = __esm({
|
|
1487
|
-
"../../node_modules/.pnpm/eslint-plugin-mdx@3.4.2_eslint@9.
|
|
1487
|
+
"../../node_modules/.pnpm/eslint-plugin-mdx@3.4.2_eslint@9.28.0_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/index.js"() {
|
|
1488
1488
|
"use strict";
|
|
1489
1489
|
init_cjs_shims();
|
|
1490
1490
|
init_configs();
|
|
@@ -1588,7 +1588,7 @@ var defuArrayFn = createDefu((object, key, currentValue) => {
|
|
|
1588
1588
|
// src/defaults.ts
|
|
1589
1589
|
init_cjs_shims();
|
|
1590
1590
|
|
|
1591
|
-
// ../../node_modules/.pnpm/eslint-plugin-vue@10.1.0_eslint@9.
|
|
1591
|
+
// ../../node_modules/.pnpm/eslint-plugin-vue@10.1.0_eslint@9.28.0_jiti@2.4.2__vue-eslint-parser@10.1.3_eslint@9.28.0_jiti@2.4.2__/node_modules/eslint-plugin-vue/lib/utils/inline-non-void-elements.json
|
|
1592
1592
|
var inline_non_void_elements_default = [
|
|
1593
1593
|
"a",
|
|
1594
1594
|
"abbr",
|
|
@@ -1731,8 +1731,8 @@ function getPresets(options, mode) {
|
|
|
1731
1731
|
// 问题在于 auto fix 的时候,会直接 remove 整个 import ,而我们想让用户自己去 remove
|
|
1732
1732
|
// 'unused-imports/no-unused-imports': 'error',
|
|
1733
1733
|
// https://typescript-eslint.io/rules/no-unused-vars/
|
|
1734
|
-
"no-unused-vars": "off"
|
|
1735
|
-
|
|
1734
|
+
"no-unused-vars": "off"
|
|
1735
|
+
// 'prefer-const': 'off',
|
|
1736
1736
|
}
|
|
1737
1737
|
}
|
|
1738
1738
|
});
|
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.1.0_eslint@9.
|
|
78
|
+
// ../../node_modules/.pnpm/eslint-plugin-vue@10.1.0_eslint@9.28.0_jiti@2.4.2__vue-eslint-parser@10.1.3_eslint@9.28.0_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,8 +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"
|
|
221
|
-
|
|
220
|
+
"no-unused-vars": "off"
|
|
221
|
+
// 'prefer-const': 'off',
|
|
222
222
|
}
|
|
223
223
|
}
|
|
224
224
|
});
|
|
@@ -289,7 +289,7 @@ function getPresets(options, mode) {
|
|
|
289
289
|
});
|
|
290
290
|
}
|
|
291
291
|
if (enableMDX) {
|
|
292
|
-
presets.push((0, antfu_exports.interopDefault)(import("./lib-
|
|
292
|
+
presets.push((0, antfu_exports.interopDefault)(import("./lib-BO2HXJP7.js")).then((mdx) => {
|
|
293
293
|
return [
|
|
294
294
|
{
|
|
295
295
|
...mdx.flat,
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
__require
|
|
5
5
|
} from "./chunk-MNPBMMB6.js";
|
|
6
6
|
|
|
7
|
-
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.2_eslint@9.
|
|
7
|
+
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.2_eslint@9.28.0_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.2_eslint@9.
|
|
29
|
+
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.2_eslint@9.28.0_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.2_eslint@9.
|
|
44
|
+
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.2_eslint@9.28.0_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.2_eslint@9.
|
|
63
|
+
// ../../node_modules/.pnpm/eslint-mdx@3.4.2_eslint@9.28.0_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.2_eslint@9.
|
|
83
|
+
// ../../node_modules/.pnpm/eslint-mdx@3.4.2_eslint@9.28.0_jiti@2.4.2_/node_modules/eslint-mdx/lib/helpers.js
|
|
84
84
|
import fs from "fs";
|
|
85
85
|
import { createRequire } from "module";
|
|
86
86
|
import path from "path";
|
|
@@ -155,11 +155,11 @@ var nextCharOffsetFactory = (text) => {
|
|
|
155
155
|
var importMetaUrl = import.meta.url;
|
|
156
156
|
var cjsRequire = importMetaUrl ? createRequire(importMetaUrl) : __require;
|
|
157
157
|
|
|
158
|
-
// ../../node_modules/.pnpm/eslint-mdx@3.4.2_eslint@9.
|
|
158
|
+
// ../../node_modules/.pnpm/eslint-mdx@3.4.2_eslint@9.28.0_jiti@2.4.2_/node_modules/eslint-mdx/lib/meta.js
|
|
159
159
|
var pkg = cjsRequire("../package.json");
|
|
160
160
|
var meta = { name: pkg.name, version: pkg.version };
|
|
161
161
|
|
|
162
|
-
// ../../node_modules/.pnpm/eslint-mdx@3.4.2_eslint@9.
|
|
162
|
+
// ../../node_modules/.pnpm/eslint-mdx@3.4.2_eslint@9.28.0_jiti@2.4.2_/node_modules/eslint-mdx/lib/parser.js
|
|
163
163
|
import path5 from "path";
|
|
164
164
|
|
|
165
165
|
// ../../node_modules/.pnpm/synckit@0.11.6/node_modules/synckit/lib/index.js
|
|
@@ -638,10 +638,10 @@ function createSyncFn(workerPath, timeoutOrOptions) {
|
|
|
638
638
|
return syncFn;
|
|
639
639
|
}
|
|
640
640
|
|
|
641
|
-
// ../../node_modules/.pnpm/eslint-mdx@3.4.2_eslint@9.
|
|
641
|
+
// ../../node_modules/.pnpm/eslint-mdx@3.4.2_eslint@9.28.0_jiti@2.4.2_/node_modules/eslint-mdx/lib/sync.js
|
|
642
642
|
var performSyncWork = createSyncFn(cjsRequire.resolve("./worker.js"));
|
|
643
643
|
|
|
644
|
-
// ../../node_modules/.pnpm/eslint-mdx@3.4.2_eslint@9.
|
|
644
|
+
// ../../node_modules/.pnpm/eslint-mdx@3.4.2_eslint@9.28.0_jiti@2.4.2_/node_modules/eslint-mdx/lib/parser.js
|
|
645
645
|
var DEFAULT_EXTENSIONS = [".mdx"];
|
|
646
646
|
var MARKDOWN_EXTENSIONS = [".md"];
|
|
647
647
|
var Parser = class {
|
|
@@ -700,7 +700,7 @@ var Parser = class {
|
|
|
700
700
|
var parser = new Parser();
|
|
701
701
|
var { parse, parseForESLint } = parser;
|
|
702
702
|
|
|
703
|
-
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.2_eslint@9.
|
|
703
|
+
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.2_eslint@9.28.0_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/configs/flat.js
|
|
704
704
|
var flat = {
|
|
705
705
|
files: ["**/*.{md,mdx}"],
|
|
706
706
|
languageOptions: {
|
|
@@ -729,7 +729,7 @@ var flatCodeBlocks = {
|
|
|
729
729
|
...restConfig
|
|
730
730
|
};
|
|
731
731
|
|
|
732
|
-
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.2_eslint@9.
|
|
732
|
+
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.2_eslint@9.28.0_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/helpers.js
|
|
733
733
|
import { createRequire as createRequire3 } from "module";
|
|
734
734
|
var getGlobals = (sources, initialGlobals = {}) => (Array.isArray(sources) ? sources : Object.keys(sources)).reduce((globals, source) => Object.assign(globals, {
|
|
735
735
|
[source]: false
|
|
@@ -737,7 +737,7 @@ var getGlobals = (sources, initialGlobals = {}) => (Array.isArray(sources) ? sou
|
|
|
737
737
|
var importMetaUrl2 = import.meta.url;
|
|
738
738
|
var cjsRequire3 = importMetaUrl2 ? createRequire3(importMetaUrl2) : __require;
|
|
739
739
|
|
|
740
|
-
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.2_eslint@9.
|
|
740
|
+
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.2_eslint@9.28.0_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/configs/overrides.js
|
|
741
741
|
var isReactPluginAvailable = false;
|
|
742
742
|
try {
|
|
743
743
|
cjsRequire3.resolve("eslint-plugin-react");
|
|
@@ -761,7 +761,7 @@ var overrides = {
|
|
|
761
761
|
}
|
|
762
762
|
};
|
|
763
763
|
|
|
764
|
-
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.2_eslint@9.
|
|
764
|
+
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.2_eslint@9.28.0_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/configs/recommended.js
|
|
765
765
|
var overrides2 = [
|
|
766
766
|
{
|
|
767
767
|
files: ["*.md", "*.mdx"],
|
|
@@ -811,7 +811,7 @@ var addPrettierRules = () => {
|
|
|
811
811
|
};
|
|
812
812
|
addPrettierRules();
|
|
813
813
|
|
|
814
|
-
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.2_eslint@9.
|
|
814
|
+
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.2_eslint@9.28.0_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/configs/index.js
|
|
815
815
|
var configs = {
|
|
816
816
|
base,
|
|
817
817
|
"code-blocks": codeBlocks,
|
|
@@ -822,11 +822,11 @@ var configs = {
|
|
|
822
822
|
recommended
|
|
823
823
|
};
|
|
824
824
|
|
|
825
|
-
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.2_eslint@9.
|
|
825
|
+
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.2_eslint@9.28.0_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/meta.js
|
|
826
826
|
var pkg2 = cjsRequire3("../package.json");
|
|
827
827
|
var meta2 = { name: pkg2.name, version: pkg2.version };
|
|
828
828
|
|
|
829
|
-
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.2_eslint@9.
|
|
829
|
+
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.2_eslint@9.28.0_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/processors/helpers.js
|
|
830
830
|
var DEFAULT_LANGUAGE_MAPPER = {
|
|
831
831
|
ecmascript: "js",
|
|
832
832
|
javascript: "js",
|
|
@@ -853,10 +853,10 @@ function getShortLang(filename, languageMapper) {
|
|
|
853
853
|
return languageMapper[lang] || lang;
|
|
854
854
|
}
|
|
855
855
|
|
|
856
|
-
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.2_eslint@9.
|
|
856
|
+
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.2_eslint@9.28.0_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/from-markdown.js
|
|
857
857
|
var fromMarkdown = createSyncFn(cjsRequire3.resolve("./worker.js"));
|
|
858
858
|
|
|
859
|
-
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.2_eslint@9.
|
|
859
|
+
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.2_eslint@9.28.0_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/processors/markdown.js
|
|
860
860
|
var UNSATISFIABLE_RULES = /* @__PURE__ */ new Set([
|
|
861
861
|
"eol-last",
|
|
862
862
|
"unicode-bom"
|
|
@@ -1067,7 +1067,7 @@ var markdownProcessor = {
|
|
|
1067
1067
|
supportsAutofix: SUPPORTS_AUTOFIX
|
|
1068
1068
|
};
|
|
1069
1069
|
|
|
1070
|
-
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.2_eslint@9.
|
|
1070
|
+
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.2_eslint@9.28.0_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/processors/options.js
|
|
1071
1071
|
var processorOptions = {};
|
|
1072
1072
|
var linterPath = Object.keys(cjsRequire3.cache).find((path7) => /([/\\])eslint\1lib(?:\1linter){2}\.js$/.test(path7));
|
|
1073
1073
|
if (!linterPath) {
|
|
@@ -1082,7 +1082,7 @@ ESLinter.prototype.verify = function(code, config, options) {
|
|
|
1082
1082
|
return verify.call(this, code, config, options);
|
|
1083
1083
|
};
|
|
1084
1084
|
|
|
1085
|
-
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.2_eslint@9.
|
|
1085
|
+
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.2_eslint@9.28.0_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/processors/remark.js
|
|
1086
1086
|
var createRemarkProcessor = (processorOptions2 = processorOptions) => ({
|
|
1087
1087
|
meta: {
|
|
1088
1088
|
name: "mdx/remark",
|
|
@@ -1122,10 +1122,10 @@ var createRemarkProcessor = (processorOptions2 = processorOptions) => ({
|
|
|
1122
1122
|
});
|
|
1123
1123
|
var remark = createRemarkProcessor();
|
|
1124
1124
|
|
|
1125
|
-
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.2_eslint@9.
|
|
1125
|
+
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.2_eslint@9.28.0_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/processors/index.js
|
|
1126
1126
|
var processors = { remark };
|
|
1127
1127
|
|
|
1128
|
-
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.2_eslint@9.
|
|
1128
|
+
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.2_eslint@9.28.0_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/rules/remark.js
|
|
1129
1129
|
import path6 from "path";
|
|
1130
1130
|
var remark2 = {
|
|
1131
1131
|
meta: {
|
|
@@ -1200,7 +1200,7 @@ var remark2 = {
|
|
|
1200
1200
|
}
|
|
1201
1201
|
};
|
|
1202
1202
|
|
|
1203
|
-
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.2_eslint@9.
|
|
1203
|
+
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.4.2_eslint@9.28.0_jiti@2.4.2_/node_modules/eslint-plugin-mdx/lib/rules/index.js
|
|
1204
1204
|
var rules = { remark: remark2 };
|
|
1205
1205
|
export {
|
|
1206
1206
|
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.6",
|
|
5
5
|
"description": "icebreakers's eslint config",
|
|
6
6
|
"author": "ice breaker <1324318532@qq.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -40,8 +40,8 @@
|
|
|
40
40
|
"dist"
|
|
41
41
|
],
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@antfu/eslint-config": "4.13.
|
|
44
|
-
"@eslint-react/eslint-plugin": "^1.
|
|
43
|
+
"@antfu/eslint-config": "4.13.3",
|
|
44
|
+
"@eslint-react/eslint-plugin": "^1.51.0",
|
|
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",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"eslint-plugin-vuejs-accessibility": "^2.4.1"
|
|
51
51
|
},
|
|
52
52
|
"optionalDependencies": {
|
|
53
|
-
"@unocss/eslint-plugin": "66.1.
|
|
53
|
+
"@unocss/eslint-plugin": "66.1.3",
|
|
54
54
|
"eslint-plugin-mdx": "3.4.2"
|
|
55
55
|
},
|
|
56
56
|
"publishConfig": {
|