@icebreakers/eslint-config 0.6.1 → 0.7.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.js CHANGED
@@ -1,23 +1,25 @@
1
- var __defProp = Object.defineProperty;
2
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
- var __getOwnPropNames = Object.getOwnPropertyNames;
4
- var __hasOwnProp = Object.prototype.hasOwnProperty;
5
- var __copyProps = (to, from, except, desc) => {
6
- if (from && typeof from === "object" || typeof from === "function") {
7
- for (let key of __getOwnPropNames(from))
8
- if (!__hasOwnProp.call(to, key) && key !== except)
9
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
10
- }
11
- return to;
12
- };
13
- var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
1
+ import {
2
+ __reExport,
3
+ init_esm_shims
4
+ } from "./chunk-O6LAGIJG.js";
5
+
6
+ // src/index.ts
7
+ init_esm_shims();
8
+
9
+ // src/factory.ts
10
+ init_esm_shims();
14
11
 
15
12
  // src/antfu.ts
16
13
  var antfu_exports = {};
14
+ init_esm_shims();
17
15
  __reExport(antfu_exports, eslint_config_star);
18
16
  import * as eslint_config_star from "@antfu/eslint-config";
19
17
 
18
+ // src/preset.ts
19
+ init_esm_shims();
20
+
20
21
  // ../../node_modules/.pnpm/defu@6.1.4/node_modules/defu/dist/defu.mjs
22
+ init_esm_shims();
21
23
  function isPlainObject(value) {
22
24
  if (value === null || typeof value !== "object") {
23
25
  return false;
@@ -86,6 +88,7 @@ var defuArrayFn = createDefu((object, key, currentValue) => {
86
88
  });
87
89
 
88
90
  // src/defaults.ts
91
+ init_esm_shims();
89
92
  function getDefaultVueOptions() {
90
93
  const vueOptions = {
91
94
  overrides: {
@@ -141,6 +144,7 @@ function getDefaultTypescriptOptions() {
141
144
  }
142
145
 
143
146
  // src/utils.ts
147
+ init_esm_shims();
144
148
  function isObject(o) {
145
149
  return Object.prototype.toString.call(o) === "[object Object]";
146
150
  }
@@ -226,7 +230,7 @@ function getPresets(options, mode) {
226
230
  });
227
231
  }
228
232
  if (enableMDX) {
229
- presets.push((0, antfu_exports.interopDefault)(import("eslint-plugin-mdx")).then((mdx) => {
233
+ presets.push((0, antfu_exports.interopDefault)(import("./index.es2015-KVEGXTLD.js")).then((mdx) => {
230
234
  return [
231
235
  {
232
236
  ...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.6.1",
4
+ "version": "0.7.0",
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": "3.8.0",
44
- "@eslint-react/eslint-plugin": "^1.15.0",
45
- "@unocss/eslint-plugin": "^0.63.4",
44
+ "@eslint-react/eslint-plugin": "^1.15.2",
46
45
  "eslint-plugin-format": "0.1.2",
47
- "eslint-plugin-jsx-a11y": "^6.10.0",
48
- "eslint-plugin-mdx": "3.1.5",
46
+ "eslint-plugin-jsx-a11y": "^6.10.2",
49
47
  "eslint-plugin-react-hooks": "^5.0.0",
50
- "eslint-plugin-react-refresh": "^0.4.12",
48
+ "eslint-plugin-react-refresh": "^0.4.14",
51
49
  "eslint-plugin-tailwindcss": "3.17.5",
52
- "eslint-plugin-vuejs-accessibility": "^2.4.1",
53
- "globals": "^15.11.0",
54
- "local-pkg": "0.5.0"
50
+ "eslint-plugin-vuejs-accessibility": "^2.4.1"
51
+ },
52
+ "optionalDependencies": {
53
+ "@unocss/eslint-plugin": "^0.63.6",
54
+ "eslint-plugin-mdx": "3.1.5"
55
55
  },
56
56
  "publishConfig": {
57
57
  "access": "public",