@coderwyd/eslint-config 3.6.0 → 4.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/README.md CHANGED
@@ -21,8 +21,6 @@ pnpm i -D eslint @coderwyd/eslint-config
21
21
 
22
22
  ### Create config file
23
23
 
24
- With [`"type": "module"`](https://nodejs.org/api/packages.html#type) in `package.json` (recommended):
25
-
26
24
  ```js
27
25
  // eslint.config.js
28
26
  import { defineConfig } from '@coderwyd/eslint-config'
@@ -30,15 +28,6 @@ import { defineConfig } from '@coderwyd/eslint-config'
30
28
  export default defineConfig()
31
29
  ```
32
30
 
33
- With CJS:
34
-
35
- ```js
36
- // eslint.config.js
37
- const { defineConfig } = require('@coderwyd/eslint-config')
38
-
39
- module.exports = defineConfig()
40
- ```
41
-
42
31
  ### Add script for package.json
43
32
 
44
33
  For example:
package/dist/cli.js CHANGED
@@ -8,19 +8,19 @@ import { hideBin } from "yargs/helpers";
8
8
  import c from "picocolors";
9
9
 
10
10
  // package.json
11
- var version = "3.6.0";
11
+ var version = "4.0.0";
12
12
  var devDependencies = {
13
- "@antfu/ni": "^23.2.0",
14
- "@eslint-react/eslint-plugin": "^1.23.2",
13
+ "@antfu/ni": "^23.3.1",
14
+ "@eslint-react/eslint-plugin": "^1.26.2",
15
15
  "@eslint/config-inspector": "^1.0.0",
16
16
  "@types/eslint-config-prettier": "^6.11.3",
17
- "@types/node": "^22.10.7",
17
+ "@types/node": "^22.13.1",
18
18
  "@types/prompts": "^2.4.9",
19
19
  "@types/yargs": "^17.0.33",
20
- "@unocss/eslint-plugin": "^65.4.2",
21
- bumpp: "^9.10.1",
22
- eslint: "^9.18.0",
23
- "eslint-plugin-react-compiler": "19.0.0-beta-decd7b8-20250118",
20
+ "@unocss/eslint-plugin": "^65.4.3",
21
+ bumpp: "^10.0.2",
22
+ eslint: "^9.19.0",
23
+ "eslint-plugin-react-compiler": "19.0.0-beta-e552027-20250112",
24
24
  "eslint-plugin-react-hooks": "^5.1.0",
25
25
  "eslint-plugin-react-refresh": "^0.4.18",
26
26
  "eslint-plugin-svelte": "^2.46.1",
@@ -28,9 +28,9 @@ var devDependencies = {
28
28
  jiti: "^2.4.2",
29
29
  "nano-staged": "^0.8.0",
30
30
  "simple-git-hooks": "^2.11.1",
31
- svelte: "^5.19.0",
31
+ svelte: "^5.19.9",
32
32
  "svelte-eslint-parser": "^0.43.0",
33
- tsup: "^8.3.5",
33
+ tsup: "^8.3.6",
34
34
  typescript: "^5.7.3"
35
35
  };
36
36