@icebreakers/eslint-config 4.0.11 → 5.0.0

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 CHANGED
@@ -263,10 +263,10 @@ function resolveMdxPresets(isEnabled) {
263
263
  function resolveAccessibilityPresets(isEnabled, vueOption, reactOption) {
264
264
  if (!isEnabled) return [];
265
265
  const presets = [];
266
- if (vueOption && hasAllPackages(VUE_A11Y_PACKAGES)) presets.push((0, antfu_exports.interopDefault)(Promise.resolve().then(() => /* @__PURE__ */ require_chunk.__toESM(require("./dist-D2WUqnUR.cjs").default, 1))).then((pluginVueA11y) => {
266
+ if (vueOption && hasAllPackages(VUE_A11Y_PACKAGES)) presets.push((0, antfu_exports.interopDefault)(Promise.resolve().then(() => /* @__PURE__ */ require_chunk.__toESM(require("./dist-Br-vKI2G.cjs").default, 1))).then((pluginVueA11y) => {
267
267
  return pluginVueA11y.configs["flat/recommended"];
268
268
  }));
269
- if (reactOption && hasAllPackages(REACT_A11Y_PACKAGES)) presets.push((0, antfu_exports.interopDefault)(Promise.resolve().then(() => /* @__PURE__ */ require_chunk.__toESM(require("./lib-VdWhDy2o.cjs").default, 1))).then((jsxA11y) => {
269
+ if (reactOption && hasAllPackages(REACT_A11Y_PACKAGES)) presets.push((0, antfu_exports.interopDefault)(Promise.resolve().then(() => /* @__PURE__ */ require_chunk.__toESM(require("./lib-gbm6XY5m.cjs").default, 1))).then((jsxA11y) => {
270
270
  return jsxA11y.flatConfigs.recommended;
271
271
  }));
272
272
  return presets;
@@ -281,7 +281,7 @@ function resolveNestPresets(isEnabled) {
281
281
  function resolveQueryPresets(isEnabled) {
282
282
  if (!isEnabled) return [];
283
283
  if (!hasAllPackages(QUERY_PACKAGES)) return [];
284
- return [(0, antfu_exports.interopDefault)(Promise.resolve().then(() => require("./modern-D06QebMM.cjs"))).then((pluginQuery) => pluginQuery.configs["flat/recommended"])];
284
+ return [(0, antfu_exports.interopDefault)(Promise.resolve().then(() => require("./modern-BlDFWU8k.cjs"))).then((pluginQuery) => pluginQuery.configs["flat/recommended"])];
285
285
  }
286
286
  //#endregion
287
287
  //#region ../../node_modules/.pnpm/defu@6.1.7/node_modules/defu/dist/defu.mjs
@@ -311,18 +311,6 @@ function createDefu(merger) {
311
311
  return (...arguments_) => arguments_.reduce((p, c) => _defu(p, c, "", merger), {});
312
312
  }
313
313
  const defu = createDefu();
314
- createDefu((object, key, currentValue) => {
315
- if (object[key] !== void 0 && typeof currentValue === "function") {
316
- object[key] = currentValue(object[key]);
317
- return true;
318
- }
319
- });
320
- createDefu((object, key, currentValue) => {
321
- if (Array.isArray(object[key]) && typeof currentValue === "function") {
322
- object[key] = currentValue(object[key]);
323
- return true;
324
- }
325
- });
326
314
  //#endregion
327
315
  //#region src/options.ts
328
316
  const BASE_DEFAULTS = {
package/dist/index.js CHANGED
@@ -260,10 +260,10 @@ function resolveMdxPresets(isEnabled) {
260
260
  function resolveAccessibilityPresets(isEnabled, vueOption, reactOption) {
261
261
  if (!isEnabled) return [];
262
262
  const presets = [];
263
- if (vueOption && hasAllPackages(VUE_A11Y_PACKAGES)) presets.push((0, antfu_exports.interopDefault)(import("./dist-3Yuo5ZWh.js").then((m) => /* @__PURE__ */ __toESM(m.default, 1))).then((pluginVueA11y) => {
263
+ if (vueOption && hasAllPackages(VUE_A11Y_PACKAGES)) presets.push((0, antfu_exports.interopDefault)(import("./dist-Dk5MjvLV.js").then((m) => /* @__PURE__ */ __toESM(m.default, 1))).then((pluginVueA11y) => {
264
264
  return pluginVueA11y.configs["flat/recommended"];
265
265
  }));
266
- if (reactOption && hasAllPackages(REACT_A11Y_PACKAGES)) presets.push((0, antfu_exports.interopDefault)(import("./lib-Du7EF351.js").then((m) => /* @__PURE__ */ __toESM(m.default, 1))).then((jsxA11y) => {
266
+ if (reactOption && hasAllPackages(REACT_A11Y_PACKAGES)) presets.push((0, antfu_exports.interopDefault)(import("./lib-DS3f4hEx.js").then((m) => /* @__PURE__ */ __toESM(m.default, 1))).then((jsxA11y) => {
267
267
  return jsxA11y.flatConfigs.recommended;
268
268
  }));
269
269
  return presets;
@@ -278,7 +278,7 @@ function resolveNestPresets(isEnabled) {
278
278
  function resolveQueryPresets(isEnabled) {
279
279
  if (!isEnabled) return [];
280
280
  if (!hasAllPackages(QUERY_PACKAGES)) return [];
281
- return [(0, antfu_exports.interopDefault)(import("./modern-DE63O_Ru.js")).then((pluginQuery) => pluginQuery.configs["flat/recommended"])];
281
+ return [(0, antfu_exports.interopDefault)(import("./modern-DnYnDvqZ.js")).then((pluginQuery) => pluginQuery.configs["flat/recommended"])];
282
282
  }
283
283
  //#endregion
284
284
  //#region ../../node_modules/.pnpm/defu@6.1.7/node_modules/defu/dist/defu.mjs
@@ -308,18 +308,6 @@ function createDefu(merger) {
308
308
  return (...arguments_) => arguments_.reduce((p, c) => _defu(p, c, "", merger), {});
309
309
  }
310
310
  const defu = createDefu();
311
- createDefu((object, key, currentValue) => {
312
- if (object[key] !== void 0 && typeof currentValue === "function") {
313
- object[key] = currentValue(object[key]);
314
- return true;
315
- }
316
- });
317
- createDefu((object, key, currentValue) => {
318
- if (Array.isArray(object[key]) && typeof currentValue === "function") {
319
- object[key] = currentValue(object[key]);
320
- return true;
321
- }
322
- });
323
311
  //#endregion
324
312
  //#region src/options.ts
325
313
  const BASE_DEFAULTS = {