@lincy/eslint-config 5.9.0 → 6.0.1

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@lincy/eslint-config",
3
3
  "type": "module",
4
- "version": "5.9.0",
4
+ "version": "6.0.1",
5
5
  "description": "LinCenYing's ESLint config",
6
6
  "author": "LinCenYing <lincenying@gmail.com> (https://github.com/lincenying/)",
7
7
  "license": "MIT",
@@ -11,25 +11,25 @@
11
11
  ],
12
12
  "exports": {
13
13
  ".": {
14
- "import": "./dist/index.js",
14
+ "import": "./dist/index.mjs",
15
15
  "require": "./dist/index.cjs"
16
16
  }
17
17
  },
18
18
  "main": "./dist/index.cjs",
19
- "module": "./dist/index.js",
20
- "types": "./dist/index.d.ts",
19
+ "module": "./dist/index.mjs",
20
+ "types": "./dist/index.d.mts",
21
21
  "files": [
22
22
  "dist"
23
23
  ],
24
24
  "peerDependencies": {
25
- "@eslint-react/eslint-plugin": "^1.15.0",
26
- "@next/eslint-plugin-next": "^15.4.0-canary.115",
25
+ "@eslint-react/eslint-plugin": "^2.3.5",
26
+ "@next/eslint-plugin-next": ">=15.0.0",
27
27
  "@prettier/plugin-xml": "^3.4.1",
28
28
  "@unocss/eslint-plugin": ">=0.50.0",
29
- "eslint": ">=9.5.0",
29
+ "eslint": "^9.10.0",
30
30
  "eslint-plugin-format": ">=0.1.0",
31
- "eslint-plugin-react-hooks": "^5.0.0",
32
- "eslint-plugin-react-refresh": "^0.4.13"
31
+ "eslint-plugin-react-hooks": "^7.0.0",
32
+ "eslint-plugin-react-refresh": "^0.4.19"
33
33
  },
34
34
  "peerDependenciesMeta": {
35
35
  "@eslint-react/eslint-plugin": {
@@ -58,31 +58,31 @@
58
58
  "@antfu/install-pkg": "^1.1.0",
59
59
  "@clack/prompts": "^0.11.0",
60
60
  "@eslint-community/eslint-plugin-eslint-comments": "^4.5.0",
61
- "@eslint/markdown": "^7.3.0",
62
- "@stylistic/eslint-plugin": "^5.4.0",
63
- "@typescript-eslint/eslint-plugin": "^8.44.1",
64
- "@typescript-eslint/parser": "^8.44.1",
65
- "@vitest/eslint-plugin": "^1.3.12",
61
+ "@eslint/markdown": "^7.5.1",
62
+ "@stylistic/eslint-plugin": "^5.6.1",
63
+ "@typescript-eslint/eslint-plugin": "^8.47.0",
64
+ "@typescript-eslint/parser": "^8.47.0",
65
+ "@vitest/eslint-plugin": "^1.4.3",
66
66
  "eslint-config-flat-gitignore": "^2.1.0",
67
67
  "eslint-flat-config-utils": "^2.1.4",
68
68
  "eslint-merge-processors": "^2.0.0",
69
69
  "eslint-parser-plain": "^0.1.1",
70
70
  "eslint-plugin-antfu": "^3.1.1",
71
71
  "eslint-plugin-import-lite": "^0.3.0",
72
- "eslint-plugin-jsdoc": "^60.3.0",
73
- "eslint-plugin-jsonc": "^2.20.1",
72
+ "eslint-plugin-jsdoc": "^61.2.1",
73
+ "eslint-plugin-jsonc": "^2.21.0",
74
74
  "eslint-plugin-n": "^17.23.1",
75
75
  "eslint-plugin-no-only-tests": "^3.3.0",
76
- "eslint-plugin-perfectionist": "^4.15.0",
77
- "eslint-plugin-pnpm": "^1.1.2",
76
+ "eslint-plugin-perfectionist": "^4.15.1",
77
+ "eslint-plugin-pnpm": "^1.3.0",
78
78
  "eslint-plugin-regexp": "^2.10.0",
79
79
  "eslint-plugin-toml": "^0.12.0",
80
- "eslint-plugin-unicorn": "^61.0.2",
81
- "eslint-plugin-unused-imports": "^4.2.0",
82
- "eslint-plugin-vue": "^10.5.0",
83
- "eslint-plugin-yml": "^1.18.0",
80
+ "eslint-plugin-unicorn": "^62.0.0",
81
+ "eslint-plugin-unused-imports": "^4.3.0",
82
+ "eslint-plugin-vue": "^10.5.1",
83
+ "eslint-plugin-yml": "^1.19.0",
84
84
  "eslint-processor-vue-blocks": "^2.0.0",
85
- "globals": "^16.4.0",
85
+ "globals": "^16.5.0",
86
86
  "jsonc-eslint-parser": "^2.4.1",
87
87
  "local-pkg": "^1.1.2",
88
88
  "prompts": "^2.4.2",
@@ -91,42 +91,43 @@
91
91
  "yaml-eslint-parser": "^1.3.0"
92
92
  },
93
93
  "devDependencies": {
94
- "@antfu/ni": "^26.0.1",
95
- "@eslint-react/eslint-plugin": "^1.53.1",
94
+ "@antfu/ni": "^27.0.1",
95
+ "@eslint-react/eslint-plugin": "^2.3.5",
96
96
  "@eslint-types/typescript-eslint": "^7.5.0",
97
97
  "@eslint-types/unicorn": "^52.0.0",
98
- "@eslint/config-inspector": "^1.3.0",
99
- "@next/eslint-plugin-next": "^15.5.4",
98
+ "@eslint/config-inspector": "^1.4.1",
99
+ "@next/eslint-plugin-next": "^16.0.3",
100
100
  "@prettier/plugin-xml": "^3.4.2",
101
101
  "@stylistic/eslint-plugin-migrate": "^4.4.1",
102
- "@types/node": "^24.5.2",
103
- "@types/react": "^19.1.13",
104
- "@unocss/eslint-plugin": "^66.5.2",
105
- "bumpp": "^10.2.3",
106
- "eslint": "^9.36.0",
102
+ "@types/node": "^24.10.1",
103
+ "@types/react": "^19.2.6",
104
+ "@unocss/eslint-plugin": "^66.5.7",
105
+ "bumpp": "^10.3.1",
106
+ "eslint": "^9.39.1",
107
+ "eslint-plugin-erasable-syntax-only": "^0.4.0",
107
108
  "eslint-plugin-format": "^1.0.2",
108
- "eslint-plugin-react-hooks": "^5.2.0",
109
- "eslint-plugin-react-refresh": "^0.4.21",
109
+ "eslint-plugin-react-hooks": "^7.0.1",
110
+ "eslint-plugin-react-refresh": "^0.4.24",
110
111
  "eslint-typegen": "^2.3.0",
111
112
  "esno": "^4.8.0",
112
113
  "execa": "^9.6.0",
113
- "lint-staged": "^16.2.0",
114
+ "lint-staged": "^16.2.6",
114
115
  "prettier": "^3.6.2",
115
- "react": "^19.1.1",
116
+ "react": "^19.2.0",
116
117
  "simple-git-hooks": "^2.13.1",
117
118
  "simple-open-url": "^3.0.1",
118
119
  "sucrase": "^3.35.0",
119
120
  "tinyglobby": "^0.2.15",
120
- "tsdown": "^0.14.2",
121
- "typescript": "^5.9.2",
122
- "vitest": "^3.2.4",
123
- "vue": "^3.5.22",
124
- "@lincy/eslint-config": "5.9.0"
121
+ "tsdown": "^0.16.5",
122
+ "typescript": "^5.9.3",
123
+ "vitest": "^4.0.10",
124
+ "vue": "^3.5.24",
125
+ "@lincy/eslint-config": "6.0.1"
125
126
  },
126
- "simple-git-hooks": {
127
+ "simple-git-hooks[-del]": {
127
128
  "pre-commit": "npx lint-staged"
128
129
  },
129
- "lint-staged": {
130
+ "lint-staged[-del]": {
130
131
  "*.{[jt]s?(x),vue,md}": "eslint --fix"
131
132
  },
132
133
  "publishConfig": {
@@ -141,6 +142,7 @@
141
142
  "typegen": "tsx scripts/typegen.ts",
142
143
  "lint": "pnpm run stub && eslint .",
143
144
  "lint:fix": "eslint . --fix",
144
- "lint:ts": "tsc --noEmit"
145
+ "lint:ts": "tsc --noEmit",
146
+ "prepare[-del]": "npx simple-git-hooks"
145
147
  }
146
148
  }