@curev/eslint-config 0.6.1 → 0.6.2

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
@@ -1,4 +1,7 @@
1
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
1
+ Object.defineProperties(exports, {
2
+ __esModule: { value: true },
3
+ [Symbol.toStringTag]: { value: "Module" }
4
+ });
2
5
  //#region \0rolldown/runtime.js
3
6
  var __create = Object.create;
4
7
  var __defProp = Object.defineProperty;
@@ -7,16 +10,12 @@ var __getOwnPropNames = Object.getOwnPropertyNames;
7
10
  var __getProtoOf = Object.getPrototypeOf;
8
11
  var __hasOwnProp = Object.prototype.hasOwnProperty;
9
12
  var __copyProps = (to, from, except, desc) => {
10
- if (from && typeof from === "object" || typeof from === "function") {
11
- for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
12
- key = keys[i];
13
- if (!__hasOwnProp.call(to, key) && key !== except) {
14
- __defProp(to, key, {
15
- get: ((k) => from[k]).bind(null, key),
16
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
17
- });
18
- }
19
- }
13
+ if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
14
+ key = keys[i];
15
+ if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
16
+ get: ((k) => from[k]).bind(null, key),
17
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
18
+ });
20
19
  }
21
20
  return to;
22
21
  };
@@ -24,15 +23,14 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
24
23
  value: mod,
25
24
  enumerable: true
26
25
  }) : target, mod));
27
-
28
26
  //#endregion
29
27
  let _antfu_eslint_config = require("@antfu/eslint-config");
30
28
  let defu = require("defu");
31
29
  defu = __toESM(defu);
32
-
33
30
  //#region src/index.ts
34
31
  const defaultConfig = {
35
32
  unocss: false,
33
+ e18e: false,
36
34
  stylistic: {
37
35
  indent: 2,
38
36
  semi: true,
@@ -53,8 +51,7 @@ const defaultConfig = {
53
51
  function curev(options = {}, ...userConfigs) {
54
52
  return (0, _antfu_eslint_config.antfu)((0, defu.default)(options, defaultConfig), ...userConfigs);
55
53
  }
56
-
57
54
  //#endregion
58
55
  exports.curev = curev;
59
56
  exports.default = curev;
60
- exports.defaultConfig = defaultConfig;
57
+ exports.defaultConfig = defaultConfig;
package/dist/index.mjs CHANGED
@@ -1,9 +1,9 @@
1
1
  import { antfu } from "@antfu/eslint-config";
2
2
  import defu from "defu";
3
-
4
3
  //#region src/index.ts
5
4
  const defaultConfig = {
6
5
  unocss: false,
6
+ e18e: false,
7
7
  stylistic: {
8
8
  indent: 2,
9
9
  semi: true,
@@ -24,6 +24,5 @@ const defaultConfig = {
24
24
  function curev(options = {}, ...userConfigs) {
25
25
  return antfu(defu(options, defaultConfig), ...userConfigs);
26
26
  }
27
-
28
27
  //#endregion
29
- export { curev, curev as default, defaultConfig };
28
+ export { curev, curev as default, defaultConfig };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@curev/eslint-config",
3
3
  "type": "module",
4
- "version": "0.6.1",
4
+ "version": "0.6.2",
5
5
  "author": "Chizuki<chizukicn@outlook.com> (https://github.com/chizukicn/)",
6
6
  "license": "MIT",
7
7
  "homepage": "https://github.com/curev/eslint-config",
@@ -22,25 +22,25 @@
22
22
  "eslint": "^9.10.0 || ^10.0.0"
23
23
  },
24
24
  "dependencies": {
25
- "@antfu/eslint-config": "^7.4.3",
25
+ "@antfu/eslint-config": "7.7.0",
26
26
  "defu": "^6.1.4",
27
- "eslint-flat-config-utils": "^3.0.1"
27
+ "eslint-flat-config-utils": "^3.0.2"
28
28
  },
29
29
  "devDependencies": {
30
- "@antfu/ni": "^28.2.0",
31
- "@eslint/config-inspector": "^1.4.2",
32
- "@types/node": "^25.3.0",
30
+ "@antfu/ni": "^28.3.0",
31
+ "@eslint/config-inspector": "^1.5.0",
32
+ "@types/node": "^25.4.0",
33
33
  "bumpp": "^10.4.1",
34
- "eslint": "^10.0.1",
35
- "lint-staged": "^16.2.7",
34
+ "eslint": "^10.0.3",
35
+ "lint-staged": "^16.3.2",
36
36
  "simple-git-hooks": "^2.13.1",
37
- "taze": "^19.9.2",
38
- "tsdown": "^0.20.3",
37
+ "taze": "^19.10.0",
38
+ "tsdown": "^0.21.1",
39
39
  "typescript": "^5.9.3",
40
40
  "vitest": "^4.0.18"
41
41
  },
42
42
  "resolutions": {
43
- "eslint": "^10.0.1"
43
+ "eslint": "^10.0.3"
44
44
  },
45
45
  "simple-git-hooks": {
46
46
  "pre-commit": "npx lint-staged"