@curev/eslint-config 0.6.0 → 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,5 +1,8 @@
1
- Object.defineProperty(exports, '__esModule', { value: true });
2
- //#region rolldown:runtime
1
+ Object.defineProperties(exports, {
2
+ __esModule: { value: true },
3
+ [Symbol.toStringTag]: { value: "Module" }
4
+ });
5
+ //#region \0rolldown/runtime.js
3
6
  var __create = Object.create;
4
7
  var __defProp = Object.defineProperty;
5
8
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -20,16 +23,14 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
20
23
  value: mod,
21
24
  enumerable: true
22
25
  }) : target, mod));
23
-
24
26
  //#endregion
25
- let __antfu_eslint_config = require("@antfu/eslint-config");
26
- __antfu_eslint_config = __toESM(__antfu_eslint_config);
27
+ let _antfu_eslint_config = require("@antfu/eslint-config");
27
28
  let defu = require("defu");
28
29
  defu = __toESM(defu);
29
-
30
30
  //#region src/index.ts
31
31
  const defaultConfig = {
32
32
  unocss: false,
33
+ e18e: false,
33
34
  stylistic: {
34
35
  indent: 2,
35
36
  semi: true,
@@ -48,11 +49,9 @@ const defaultConfig = {
48
49
  }
49
50
  };
50
51
  function curev(options = {}, ...userConfigs) {
51
- return (0, __antfu_eslint_config.antfu)((0, defu.default)(options, defaultConfig), ...userConfigs);
52
+ return (0, _antfu_eslint_config.antfu)((0, defu.default)(options, defaultConfig), ...userConfigs);
52
53
  }
53
- var src_default = curev;
54
-
55
54
  //#endregion
56
55
  exports.curev = curev;
57
- exports.default = src_default;
58
- exports.defaultConfig = defaultConfig;
56
+ exports.default = curev;
57
+ exports.defaultConfig = defaultConfig;
@@ -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,7 +24,5 @@ const defaultConfig = {
24
24
  function curev(options = {}, ...userConfigs) {
25
25
  return antfu(defu(options, defaultConfig), ...userConfigs);
26
26
  }
27
- var src_default = curev;
28
-
29
27
  //#endregion
30
- export { curev, src_default as default, defaultConfig };
28
+ export { curev, curev as default, defaultConfig };
package/package.json CHANGED
@@ -1,54 +1,46 @@
1
1
  {
2
2
  "name": "@curev/eslint-config",
3
3
  "type": "module",
4
- "version": "0.6.0",
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",
8
8
  "exports": {
9
9
  ".": {
10
- "import": "./dist/index.js",
10
+ "import": "./dist/index.mjs",
11
11
  "require": "./dist/index.cjs"
12
12
  },
13
13
  "./package.json": "./package.json"
14
14
  },
15
15
  "main": "./dist/index.cjs",
16
- "module": "./dist/index.js",
16
+ "module": "./dist/index.mjs",
17
17
  "types": "./dist/index.d.cts",
18
18
  "files": [
19
19
  "dist"
20
20
  ],
21
21
  "peerDependencies": {
22
- "eslint": "^9.10.0"
22
+ "eslint": "^9.10.0 || ^10.0.0"
23
23
  },
24
24
  "dependencies": {
25
- "@antfu/eslint-config": "^5.4.1",
26
- "defu": "^6.1.4"
25
+ "@antfu/eslint-config": "7.7.0",
26
+ "defu": "^6.1.4",
27
+ "eslint-flat-config-utils": "^3.0.2"
27
28
  },
28
29
  "devDependencies": {
29
- "@antfu/ni": "^26.0.1",
30
- "@eslint/config-inspector": "^1.3.0",
31
- "@types/fs-extra": "^11.0.4",
32
- "@types/node": "^24.5.2",
33
- "bumpp": "^10.2.3",
34
- "eslint": "^9.36.0",
35
- "eslint-flat-config-utils": "^2.1.4",
36
- "esno": "^4.8.0",
37
- "execa": "^9.6.0",
38
- "fast-glob": "^3.3.3",
39
- "fs-extra": "^11.3.2",
40
- "lint-staged": "^16.2.1",
30
+ "@antfu/ni": "^28.3.0",
31
+ "@eslint/config-inspector": "^1.5.0",
32
+ "@types/node": "^25.4.0",
33
+ "bumpp": "^10.4.1",
34
+ "eslint": "^10.0.3",
35
+ "lint-staged": "^16.3.2",
41
36
  "simple-git-hooks": "^2.13.1",
42
- "taze": "^19.7.0",
43
- "tsdown": "^0.15.5",
44
- "typescript": "^5.9.2",
45
- "vitest": "^3.2.4"
37
+ "taze": "^19.10.0",
38
+ "tsdown": "^0.21.1",
39
+ "typescript": "^5.9.3",
40
+ "vitest": "^4.0.18"
46
41
  },
47
42
  "resolutions": {
48
- "@eslint-community/eslint-utils": "^4.9.0",
49
- "@typescript-eslint/utils": "^8.44.1",
50
- "eslint": "^9.36.0",
51
- "tsx": "^4.20.6"
43
+ "eslint": "^10.0.3"
52
44
  },
53
45
  "simple-git-hooks": {
54
46
  "pre-commit": "npx lint-staged"
File without changes