@icebreakers/eslint-config 1.0.1 → 1.0.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.
package/dist/index.js CHANGED
@@ -1,25 +1,13 @@
1
1
  import {
2
- __reExport,
3
- init_esm_shims
4
- } from "./chunk-2X2MYRRL.js";
5
-
6
- // src/index.ts
7
- init_esm_shims();
8
-
9
- // src/factory.ts
10
- init_esm_shims();
2
+ __reExport
3
+ } from "./chunk-4JACZTJG.js";
11
4
 
12
5
  // src/antfu.ts
13
6
  var antfu_exports = {};
14
- init_esm_shims();
15
7
  __reExport(antfu_exports, eslint_config_star);
16
8
  import * as eslint_config_star from "@antfu/eslint-config";
17
9
 
18
- // src/preset.ts
19
- init_esm_shims();
20
-
21
10
  // ../../node_modules/.pnpm/defu@6.1.4/node_modules/defu/dist/defu.mjs
22
- init_esm_shims();
23
11
  function isPlainObject(value) {
24
12
  if (value === null || typeof value !== "object") {
25
13
  return false;
@@ -87,10 +75,7 @@ var defuArrayFn = createDefu((object, key, currentValue) => {
87
75
  }
88
76
  });
89
77
 
90
- // src/defaults.ts
91
- init_esm_shims();
92
-
93
- // ../../node_modules/.pnpm/eslint-plugin-vue@9.32.0_eslint@9.21.0_jiti@2.4.2_/node_modules/eslint-plugin-vue/lib/utils/inline-non-void-elements.json
78
+ // ../../node_modules/.pnpm/eslint-plugin-vue@10.0.0_eslint@9.22.0_jiti@2.4.2__vue-eslint-parser@10.1.1_eslint@9.22.0_jiti@2.4.2__/node_modules/eslint-plugin-vue/lib/utils/inline-non-void-elements.json
94
79
  var inline_non_void_elements_default = [
95
80
  "a",
96
81
  "abbr",
@@ -217,7 +202,6 @@ function getDefaultTypescriptOptions(opts) {
217
202
  }
218
203
 
219
204
  // src/utils.ts
220
- init_esm_shims();
221
205
  function isObject(o) {
222
206
  return Object.prototype.toString.call(o) === "[object Object]";
223
207
  }
@@ -304,7 +288,7 @@ function getPresets(options, mode) {
304
288
  });
305
289
  }
306
290
  if (enableMDX) {
307
- presets.push((0, antfu_exports.interopDefault)(import("./index.es2015-FBV34CV4.js")).then((mdx) => {
291
+ presets.push((0, antfu_exports.interopDefault)(import("./index.es2015-XG66TMMA.js")).then((mdx) => {
308
292
  return [
309
293
  {
310
294
  ...mdx.flat,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@icebreakers/eslint-config",
3
3
  "type": "module",
4
- "version": "1.0.1",
4
+ "version": "1.0.3",
5
5
  "description": "icebreakers's eslint config",
6
6
  "author": "ice breaker <1324318532@qq.com>",
7
7
  "license": "MIT",
@@ -40,18 +40,18 @@
40
40
  "dist"
41
41
  ],
42
42
  "dependencies": {
43
- "@antfu/eslint-config": "4.3.0",
44
- "@eslint-react/eslint-plugin": "^1.27.0",
43
+ "@antfu/eslint-config": "4.10.1",
44
+ "@eslint-react/eslint-plugin": "^1.33.0",
45
45
  "eslint-plugin-format": "1.0.1",
46
46
  "eslint-plugin-jsx-a11y": "^6.10.2",
47
- "eslint-plugin-react-hooks": "^5.1.0",
47
+ "eslint-plugin-react-hooks": "^5.2.0",
48
48
  "eslint-plugin-react-refresh": "^0.4.19",
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.0.0",
54
- "eslint-plugin-mdx": "3.1.5"
53
+ "@unocss/eslint-plugin": "66.1.0-beta.5",
54
+ "eslint-plugin-mdx": "3.2.0"
55
55
  },
56
56
  "publishConfig": {
57
57
  "access": "public",
@@ -1,62 +0,0 @@
1
- var __create = Object.create;
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __getProtoOf = Object.getPrototypeOf;
6
- var __hasOwnProp = Object.prototype.hasOwnProperty;
7
- var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
8
- get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
9
- }) : x)(function(x) {
10
- if (typeof require !== "undefined") return require.apply(this, arguments);
11
- throw Error('Dynamic require of "' + x + '" is not supported');
12
- });
13
- var __esm = (fn, res) => function __init() {
14
- return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
15
- };
16
- var __commonJS = (cb, mod) => function __require2() {
17
- return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
18
- };
19
- var __export = (target, all) => {
20
- for (var name in all)
21
- __defProp(target, name, { get: all[name], enumerable: true });
22
- };
23
- var __copyProps = (to, from, except, desc) => {
24
- if (from && typeof from === "object" || typeof from === "function") {
25
- for (let key of __getOwnPropNames(from))
26
- if (!__hasOwnProp.call(to, key) && key !== except)
27
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
28
- }
29
- return to;
30
- };
31
- var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
32
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
33
- // If the importer is in node compatibility mode or this is not an ESM
34
- // file that has been converted to a CommonJS file using a Babel-
35
- // compatible transform (i.e. "__esModule" has not been set), then set
36
- // "default" to the CommonJS "module.exports" for node compatibility.
37
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
38
- mod
39
- ));
40
-
41
- // ../../node_modules/.pnpm/tsup@8.3.6_jiti@2.4.2_postcss@8.5.1_tsx@4.19.3_typescript@5.7.3_yaml@2.7.0/node_modules/tsup/assets/esm_shims.js
42
- import { fileURLToPath } from "url";
43
- import path from "path";
44
- var getFilename, getDirname, __dirname;
45
- var init_esm_shims = __esm({
46
- "../../node_modules/.pnpm/tsup@8.3.6_jiti@2.4.2_postcss@8.5.1_tsx@4.19.3_typescript@5.7.3_yaml@2.7.0/node_modules/tsup/assets/esm_shims.js"() {
47
- "use strict";
48
- getFilename = () => fileURLToPath(import.meta.url);
49
- getDirname = () => path.dirname(getFilename());
50
- __dirname = /* @__PURE__ */ getDirname();
51
- }
52
- });
53
-
54
- export {
55
- __require,
56
- __commonJS,
57
- __export,
58
- __reExport,
59
- __toESM,
60
- __dirname,
61
- init_esm_shims
62
- };