@icebreakers/eslint-config 0.7.2 → 0.7.3
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.
|
@@ -38,12 +38,12 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
38
38
|
mod
|
|
39
39
|
));
|
|
40
40
|
|
|
41
|
-
// ../../node_modules/.pnpm/tsup@8.3.5_jiti@2.4.0_postcss@8.4.47_tsx@4.19.2_typescript@5.6.3_yaml@2.6.
|
|
41
|
+
// ../../node_modules/.pnpm/tsup@8.3.5_jiti@2.4.0_postcss@8.4.47_tsx@4.19.2_typescript@5.6.3_yaml@2.6.1/node_modules/tsup/assets/esm_shims.js
|
|
42
42
|
import { fileURLToPath } from "url";
|
|
43
43
|
import path from "path";
|
|
44
44
|
var getFilename, getDirname, __dirname;
|
|
45
45
|
var init_esm_shims = __esm({
|
|
46
|
-
"../../node_modules/.pnpm/tsup@8.3.5_jiti@2.4.0_postcss@8.4.47_tsx@4.19.2_typescript@5.6.3_yaml@2.6.
|
|
46
|
+
"../../node_modules/.pnpm/tsup@8.3.5_jiti@2.4.0_postcss@8.4.47_tsx@4.19.2_typescript@5.6.3_yaml@2.6.1/node_modules/tsup/assets/esm_shims.js"() {
|
|
47
47
|
"use strict";
|
|
48
48
|
getFilename = () => fileURLToPath(import.meta.url);
|
|
49
49
|
getDirname = () => path.dirname(getFilename());
|
package/dist/index.cjs
CHANGED
|
@@ -34,10 +34,10 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
34
34
|
));
|
|
35
35
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
36
36
|
|
|
37
|
-
// ../../node_modules/.pnpm/tsup@8.3.5_jiti@2.4.0_postcss@8.4.47_tsx@4.19.2_typescript@5.6.3_yaml@2.6.
|
|
37
|
+
// ../../node_modules/.pnpm/tsup@8.3.5_jiti@2.4.0_postcss@8.4.47_tsx@4.19.2_typescript@5.6.3_yaml@2.6.1/node_modules/tsup/assets/cjs_shims.js
|
|
38
38
|
var getImportMetaUrl, importMetaUrl;
|
|
39
39
|
var init_cjs_shims = __esm({
|
|
40
|
-
"../../node_modules/.pnpm/tsup@8.3.5_jiti@2.4.0_postcss@8.4.47_tsx@4.19.2_typescript@5.6.3_yaml@2.6.
|
|
40
|
+
"../../node_modules/.pnpm/tsup@8.3.5_jiti@2.4.0_postcss@8.4.47_tsx@4.19.2_typescript@5.6.3_yaml@2.6.1/node_modules/tsup/assets/cjs_shims.js"() {
|
|
41
41
|
"use strict";
|
|
42
42
|
getImportMetaUrl = () => typeof document === "undefined" ? new URL(`file:${__filename}`).href : document.currentScript && document.currentScript.src || new URL("main.js", document.baseURI).href;
|
|
43
43
|
importMetaUrl = /* @__PURE__ */ getImportMetaUrl();
|
|
@@ -388,7 +388,7 @@ var init_lib2 = __esm({
|
|
|
388
388
|
}
|
|
389
389
|
});
|
|
390
390
|
|
|
391
|
-
// ../../node_modules/.pnpm/eslint-mdx@3.1.5_eslint@9.
|
|
391
|
+
// ../../node_modules/.pnpm/eslint-mdx@3.1.5_eslint@9.15.0_jiti@2.4.0_/node_modules/eslint-mdx/lib/index.es2015.mjs
|
|
392
392
|
var index_es2015_exports = {};
|
|
393
393
|
__export(index_es2015_exports, {
|
|
394
394
|
DEFAULT_EXTENSIONS: () => DEFAULT_EXTENSIONS,
|
|
@@ -410,7 +410,7 @@ __export(index_es2015_exports, {
|
|
|
410
410
|
});
|
|
411
411
|
var import_node_fs3, import_node_path3, last, arrayify, getPhysicalFilename, loadEsmModule, getPositionAtFactory, normalizePosition, prevCharOffsetFactory, nextCharOffsetFactory, name, version, meta, workerPath, performSyncWork, __defProp2, __defProps, __getOwnPropDescs, __getOwnPropSymbols, __hasOwnProp2, __propIsEnum, __defNormalProp, __spreadValues, __spreadProps, DEFAULT_EXTENSIONS, MARKDOWN_EXTENSIONS, Parser, parser, parse, parseForESLint;
|
|
412
412
|
var init_index_es2015 = __esm({
|
|
413
|
-
"../../node_modules/.pnpm/eslint-mdx@3.1.5_eslint@9.
|
|
413
|
+
"../../node_modules/.pnpm/eslint-mdx@3.1.5_eslint@9.15.0_jiti@2.4.0_/node_modules/eslint-mdx/lib/index.es2015.mjs"() {
|
|
414
414
|
"use strict";
|
|
415
415
|
init_cjs_shims();
|
|
416
416
|
import_node_fs3 = __toESM(require("fs"), 1);
|
|
@@ -8049,9 +8049,9 @@ var require_mdast_util_from_markdown = __commonJS({
|
|
|
8049
8049
|
}
|
|
8050
8050
|
});
|
|
8051
8051
|
|
|
8052
|
-
// ../../node_modules/.pnpm/eslint-plugin-markdown@3.0.1_eslint@9.
|
|
8052
|
+
// ../../node_modules/.pnpm/eslint-plugin-markdown@3.0.1_eslint@9.15.0_jiti@2.4.0_/node_modules/eslint-plugin-markdown/lib/processor.js
|
|
8053
8053
|
var require_processor = __commonJS({
|
|
8054
|
-
"../../node_modules/.pnpm/eslint-plugin-markdown@3.0.1_eslint@9.
|
|
8054
|
+
"../../node_modules/.pnpm/eslint-plugin-markdown@3.0.1_eslint@9.15.0_jiti@2.4.0_/node_modules/eslint-plugin-markdown/lib/processor.js"(exports2, module2) {
|
|
8055
8055
|
"use strict";
|
|
8056
8056
|
init_cjs_shims();
|
|
8057
8057
|
var parse2 = require_mdast_util_from_markdown();
|
|
@@ -8231,9 +8231,9 @@ ${block.baseIndentText}`)
|
|
|
8231
8231
|
}
|
|
8232
8232
|
});
|
|
8233
8233
|
|
|
8234
|
-
// ../../node_modules/.pnpm/eslint-plugin-markdown@3.0.1_eslint@9.
|
|
8234
|
+
// ../../node_modules/.pnpm/eslint-plugin-markdown@3.0.1_eslint@9.15.0_jiti@2.4.0_/node_modules/eslint-plugin-markdown/lib/index.js
|
|
8235
8235
|
var require_lib = __commonJS({
|
|
8236
|
-
"../../node_modules/.pnpm/eslint-plugin-markdown@3.0.1_eslint@9.
|
|
8236
|
+
"../../node_modules/.pnpm/eslint-plugin-markdown@3.0.1_eslint@9.15.0_jiti@2.4.0_/node_modules/eslint-plugin-markdown/lib/index.js"(exports2, module2) {
|
|
8237
8237
|
"use strict";
|
|
8238
8238
|
init_cjs_shims();
|
|
8239
8239
|
var processor = require_processor();
|
|
@@ -8286,16 +8286,16 @@ var require_lib = __commonJS({
|
|
|
8286
8286
|
}
|
|
8287
8287
|
});
|
|
8288
8288
|
|
|
8289
|
-
// ../../node_modules/.pnpm/eslint-plugin-markdown@3.0.1_eslint@9.
|
|
8289
|
+
// ../../node_modules/.pnpm/eslint-plugin-markdown@3.0.1_eslint@9.15.0_jiti@2.4.0_/node_modules/eslint-plugin-markdown/index.js
|
|
8290
8290
|
var require_eslint_plugin_markdown = __commonJS({
|
|
8291
|
-
"../../node_modules/.pnpm/eslint-plugin-markdown@3.0.1_eslint@9.
|
|
8291
|
+
"../../node_modules/.pnpm/eslint-plugin-markdown@3.0.1_eslint@9.15.0_jiti@2.4.0_/node_modules/eslint-plugin-markdown/index.js"(exports2, module2) {
|
|
8292
8292
|
"use strict";
|
|
8293
8293
|
init_cjs_shims();
|
|
8294
8294
|
module2.exports = require_lib();
|
|
8295
8295
|
}
|
|
8296
8296
|
});
|
|
8297
8297
|
|
|
8298
|
-
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.1.5_eslint@9.
|
|
8298
|
+
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.1.5_eslint@9.15.0_jiti@2.4.0_/node_modules/eslint-plugin-mdx/lib/index.es2015.mjs
|
|
8299
8299
|
var index_es2015_exports2 = {};
|
|
8300
8300
|
__export(index_es2015_exports2, {
|
|
8301
8301
|
DEFAULT_LANGUAGE_MAPPER: () => DEFAULT_LANGUAGE_MAPPER,
|
|
@@ -8326,7 +8326,7 @@ function getShortLang(filename, languageMapper) {
|
|
|
8326
8326
|
}
|
|
8327
8327
|
var import_eslint_plugin_markdown, import_node_path4, import_node_module3, mdx, base, codeBlocks, __defProp$5, __getOwnPropSymbols$5, __hasOwnProp$5, __propIsEnum$5, __defNormalProp$5, __spreadValues$5, __objRest, flat, _a, parserOptions, restConfig, flatCodeBlocks, __defProp$4, __defProps$2, __getOwnPropDescs$2, __getOwnPropSymbols$4, __hasOwnProp$4, __propIsEnum$4, __defNormalProp$4, __spreadValues$4, __spreadProps$2, isReactPluginAvailable, overrides$1, __defProp$3, __getOwnPropSymbols$3, __hasOwnProp$3, __propIsEnum$3, __defNormalProp$3, __spreadValues$3, overrides, recommended, getImportMetaUrl2, cjsRequire3, addPrettierRules, configs, getGlobals, name2, version2, meta2, __defProp$2, __getOwnPropSymbols$2, __hasOwnProp$2, __propIsEnum$2, __defNormalProp$2, __spreadValues$2, DEFAULT_LANGUAGE_MAPPER, processorOptions, linterPath, ESLinter, verify, __defProp$1, __defProps$1, __getOwnPropDescs$1, __getOwnPropSymbols$1, __hasOwnProp$1, __propIsEnum$1, __defNormalProp$1, __spreadValues$1, __spreadProps$1, createRemarkProcessor, remark$1, processors, __defProp3, __defProps2, __getOwnPropDescs2, __getOwnPropSymbols2, __hasOwnProp3, __propIsEnum2, __defNormalProp2, __spreadValues2, __spreadProps2, remark, rules;
|
|
8328
8328
|
var init_index_es20152 = __esm({
|
|
8329
|
-
"../../node_modules/.pnpm/eslint-plugin-mdx@3.1.5_eslint@9.
|
|
8329
|
+
"../../node_modules/.pnpm/eslint-plugin-mdx@3.1.5_eslint@9.15.0_jiti@2.4.0_/node_modules/eslint-plugin-mdx/lib/index.es2015.mjs"() {
|
|
8330
8330
|
"use strict";
|
|
8331
8331
|
init_cjs_shims();
|
|
8332
8332
|
init_index_es2015();
|
|
@@ -8942,7 +8942,7 @@ var defuArrayFn = createDefu((object, key, currentValue) => {
|
|
|
8942
8942
|
// src/defaults.ts
|
|
8943
8943
|
init_cjs_shims();
|
|
8944
8944
|
|
|
8945
|
-
// ../../node_modules/.pnpm/eslint-plugin-vue@9.31.0_eslint@9.
|
|
8945
|
+
// ../../node_modules/.pnpm/eslint-plugin-vue@9.31.0_eslint@9.15.0_jiti@2.4.0_/node_modules/eslint-plugin-vue/lib/utils/inline-non-void-elements.json
|
|
8946
8946
|
var inline_non_void_elements_default = [
|
|
8947
8947
|
"a",
|
|
8948
8948
|
"abbr",
|
|
@@ -9010,7 +9010,7 @@ function getDefaultVueOptions(opts) {
|
|
|
9010
9010
|
}
|
|
9011
9011
|
if (opts?.weapp) {
|
|
9012
9012
|
overrides2["vue/singleline-html-element-content-newline"] = [
|
|
9013
|
-
"
|
|
9013
|
+
"warn",
|
|
9014
9014
|
{
|
|
9015
9015
|
ignoreWhenNoAttributes: true,
|
|
9016
9016
|
ignoreWhenEmpty: true,
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
__require,
|
|
6
6
|
__toESM,
|
|
7
7
|
init_esm_shims
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-OBODPUWI.js";
|
|
9
9
|
|
|
10
10
|
// ../../node_modules/.pnpm/mdast-util-to-string@2.0.0/node_modules/mdast-util-to-string/index.js
|
|
11
11
|
var require_mdast_util_to_string = __commonJS({
|
|
@@ -7446,9 +7446,9 @@ var require_mdast_util_from_markdown = __commonJS({
|
|
|
7446
7446
|
}
|
|
7447
7447
|
});
|
|
7448
7448
|
|
|
7449
|
-
// ../../node_modules/.pnpm/eslint-plugin-markdown@3.0.1_eslint@9.
|
|
7449
|
+
// ../../node_modules/.pnpm/eslint-plugin-markdown@3.0.1_eslint@9.15.0_jiti@2.4.0_/node_modules/eslint-plugin-markdown/lib/processor.js
|
|
7450
7450
|
var require_processor = __commonJS({
|
|
7451
|
-
"../../node_modules/.pnpm/eslint-plugin-markdown@3.0.1_eslint@9.
|
|
7451
|
+
"../../node_modules/.pnpm/eslint-plugin-markdown@3.0.1_eslint@9.15.0_jiti@2.4.0_/node_modules/eslint-plugin-markdown/lib/processor.js"(exports, module) {
|
|
7452
7452
|
"use strict";
|
|
7453
7453
|
init_esm_shims();
|
|
7454
7454
|
var parse2 = require_mdast_util_from_markdown();
|
|
@@ -7628,9 +7628,9 @@ ${block.baseIndentText}`)
|
|
|
7628
7628
|
}
|
|
7629
7629
|
});
|
|
7630
7630
|
|
|
7631
|
-
// ../../node_modules/.pnpm/eslint-plugin-markdown@3.0.1_eslint@9.
|
|
7631
|
+
// ../../node_modules/.pnpm/eslint-plugin-markdown@3.0.1_eslint@9.15.0_jiti@2.4.0_/node_modules/eslint-plugin-markdown/lib/index.js
|
|
7632
7632
|
var require_lib = __commonJS({
|
|
7633
|
-
"../../node_modules/.pnpm/eslint-plugin-markdown@3.0.1_eslint@9.
|
|
7633
|
+
"../../node_modules/.pnpm/eslint-plugin-markdown@3.0.1_eslint@9.15.0_jiti@2.4.0_/node_modules/eslint-plugin-markdown/lib/index.js"(exports, module) {
|
|
7634
7634
|
"use strict";
|
|
7635
7635
|
init_esm_shims();
|
|
7636
7636
|
var processor = require_processor();
|
|
@@ -7683,19 +7683,19 @@ var require_lib = __commonJS({
|
|
|
7683
7683
|
}
|
|
7684
7684
|
});
|
|
7685
7685
|
|
|
7686
|
-
// ../../node_modules/.pnpm/eslint-plugin-markdown@3.0.1_eslint@9.
|
|
7686
|
+
// ../../node_modules/.pnpm/eslint-plugin-markdown@3.0.1_eslint@9.15.0_jiti@2.4.0_/node_modules/eslint-plugin-markdown/index.js
|
|
7687
7687
|
var require_eslint_plugin_markdown = __commonJS({
|
|
7688
|
-
"../../node_modules/.pnpm/eslint-plugin-markdown@3.0.1_eslint@9.
|
|
7688
|
+
"../../node_modules/.pnpm/eslint-plugin-markdown@3.0.1_eslint@9.15.0_jiti@2.4.0_/node_modules/eslint-plugin-markdown/index.js"(exports, module) {
|
|
7689
7689
|
"use strict";
|
|
7690
7690
|
init_esm_shims();
|
|
7691
7691
|
module.exports = require_lib();
|
|
7692
7692
|
}
|
|
7693
7693
|
});
|
|
7694
7694
|
|
|
7695
|
-
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.1.5_eslint@9.
|
|
7695
|
+
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.1.5_eslint@9.15.0_jiti@2.4.0_/node_modules/eslint-plugin-mdx/lib/index.es2015.mjs
|
|
7696
7696
|
init_esm_shims();
|
|
7697
7697
|
|
|
7698
|
-
// ../../node_modules/.pnpm/eslint-mdx@3.1.5_eslint@9.
|
|
7698
|
+
// ../../node_modules/.pnpm/eslint-mdx@3.1.5_eslint@9.15.0_jiti@2.4.0_/node_modules/eslint-mdx/lib/index.es2015.mjs
|
|
7699
7699
|
var index_es2015_exports = {};
|
|
7700
7700
|
__export(index_es2015_exports, {
|
|
7701
7701
|
DEFAULT_EXTENSIONS: () => DEFAULT_EXTENSIONS,
|
|
@@ -8034,7 +8034,7 @@ function startWorkerThread(workerPath2, { timeout = DEFAULT_TIMEOUT, execArgv =
|
|
|
8034
8034
|
return syncFn;
|
|
8035
8035
|
}
|
|
8036
8036
|
|
|
8037
|
-
// ../../node_modules/.pnpm/eslint-mdx@3.1.5_eslint@9.
|
|
8037
|
+
// ../../node_modules/.pnpm/eslint-mdx@3.1.5_eslint@9.15.0_jiti@2.4.0_/node_modules/eslint-mdx/lib/index.es2015.mjs
|
|
8038
8038
|
var last = (items) => (
|
|
8039
8039
|
// eslint-disable-next-line unicorn/prefer-at -- FIXME: Node 16.6+ required
|
|
8040
8040
|
items && items[items.length - 1]
|
|
@@ -8227,7 +8227,7 @@ var Parser = class {
|
|
|
8227
8227
|
var parser = new Parser();
|
|
8228
8228
|
var { parse, parseForESLint } = parser;
|
|
8229
8229
|
|
|
8230
|
-
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.1.5_eslint@9.
|
|
8230
|
+
// ../../node_modules/.pnpm/eslint-plugin-mdx@3.1.5_eslint@9.15.0_jiti@2.4.0_/node_modules/eslint-plugin-mdx/lib/index.es2015.mjs
|
|
8231
8231
|
var import_eslint_plugin_markdown = __toESM(require_eslint_plugin_markdown(), 1);
|
|
8232
8232
|
import path4 from "node:path";
|
|
8233
8233
|
import { createRequire as createRequire3 } from "node:module";
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__reExport,
|
|
3
3
|
init_esm_shims
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-OBODPUWI.js";
|
|
5
5
|
|
|
6
6
|
// src/index.ts
|
|
7
7
|
init_esm_shims();
|
|
@@ -90,7 +90,7 @@ var defuArrayFn = createDefu((object, key, currentValue) => {
|
|
|
90
90
|
// src/defaults.ts
|
|
91
91
|
init_esm_shims();
|
|
92
92
|
|
|
93
|
-
// ../../node_modules/.pnpm/eslint-plugin-vue@9.31.0_eslint@9.
|
|
93
|
+
// ../../node_modules/.pnpm/eslint-plugin-vue@9.31.0_eslint@9.15.0_jiti@2.4.0_/node_modules/eslint-plugin-vue/lib/utils/inline-non-void-elements.json
|
|
94
94
|
var inline_non_void_elements_default = [
|
|
95
95
|
"a",
|
|
96
96
|
"abbr",
|
|
@@ -158,7 +158,7 @@ function getDefaultVueOptions(opts) {
|
|
|
158
158
|
}
|
|
159
159
|
if (opts?.weapp) {
|
|
160
160
|
overrides["vue/singleline-html-element-content-newline"] = [
|
|
161
|
-
"
|
|
161
|
+
"warn",
|
|
162
162
|
{
|
|
163
163
|
ignoreWhenNoAttributes: true,
|
|
164
164
|
ignoreWhenEmpty: true,
|
|
@@ -303,7 +303,7 @@ function getPresets(options, mode) {
|
|
|
303
303
|
});
|
|
304
304
|
}
|
|
305
305
|
if (enableMDX) {
|
|
306
|
-
presets.push((0, antfu_exports.interopDefault)(import("./index.es2015-
|
|
306
|
+
presets.push((0, antfu_exports.interopDefault)(import("./index.es2015-YIA3HCME.js")).then((mdx) => {
|
|
307
307
|
return [
|
|
308
308
|
{
|
|
309
309
|
...mdx.flat,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@icebreakers/eslint-config",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.7.
|
|
4
|
+
"version": "0.7.3",
|
|
5
5
|
"description": "icebreakers's eslint config",
|
|
6
6
|
"author": "ice breaker <1324318532@qq.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"dist"
|
|
41
41
|
],
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@antfu/eslint-config": "3.9.
|
|
43
|
+
"@antfu/eslint-config": "3.9.2",
|
|
44
44
|
"@eslint-react/eslint-plugin": "^1.16.1",
|
|
45
45
|
"eslint-plugin-format": "0.1.2",
|
|
46
46
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"eslint-plugin-vuejs-accessibility": "^2.4.1"
|
|
51
51
|
},
|
|
52
52
|
"optionalDependencies": {
|
|
53
|
-
"@unocss/eslint-plugin": "^0.64.
|
|
53
|
+
"@unocss/eslint-plugin": "^0.64.1",
|
|
54
54
|
"eslint-plugin-mdx": "3.1.5"
|
|
55
55
|
},
|
|
56
56
|
"publishConfig": {
|