@lincy/eslint-config 6.0.0 → 6.1.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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@lincy/eslint-config",
3
3
  "type": "module",
4
- "version": "6.0.0",
4
+ "version": "6.1.0",
5
5
  "description": "LinCenYing's ESLint config",
6
6
  "author": "LinCenYing <lincenying@gmail.com> (https://github.com/lincenying/)",
7
7
  "license": "MIT",
@@ -22,14 +22,14 @@
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,76 +58,72 @@
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.4.0",
62
- "@stylistic/eslint-plugin": "^5.4.0",
63
- "@typescript-eslint/eslint-plugin": "^8.46.1",
64
- "@typescript-eslint/parser": "^8.46.1",
65
- "@vitest/eslint-plugin": "^1.3.20",
61
+ "@eslint/markdown": "^7.5.1",
62
+ "@stylistic/eslint-plugin": "^5.6.1",
63
+ "@typescript-eslint/eslint-plugin": "^8.48.1",
64
+ "@typescript-eslint/parser": "^8.48.1",
65
+ "@vitest/eslint-plugin": "^1.5.1",
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.8.3",
72
+ "eslint-plugin-jsdoc": "^61.4.1",
73
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
76
  "eslint-plugin-perfectionist": "^4.15.1",
77
- "eslint-plugin-pnpm": "^1.2.0",
77
+ "eslint-plugin-pnpm": "^1.4.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.1",
80
+ "eslint-plugin-unicorn": "^62.0.0",
81
+ "eslint-plugin-unused-imports": "^4.3.0",
82
+ "eslint-plugin-vue": "^10.6.2",
83
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
- "prompts": "^2.4.2",
89
88
  "toml-eslint-parser": "^0.10.0",
90
89
  "vue-eslint-parser": "^10.2.0",
91
- "yaml-eslint-parser": "^1.3.0"
90
+ "yaml-eslint-parser": "^1.3.2"
92
91
  },
93
92
  "devDependencies": {
94
- "@antfu/ni": "^26.1.0",
95
- "@eslint-react/eslint-plugin": "^2.2.2",
96
- "@eslint-types/typescript-eslint": "^7.5.0",
97
- "@eslint-types/unicorn": "^52.0.0",
98
- "@eslint/config-inspector": "^1.3.0",
99
- "@next/eslint-plugin-next": "^15.5.5",
93
+ "@antfu/ni": "^28.0.0",
94
+ "@eslint-react/eslint-plugin": "^2.3.12",
95
+ "@eslint/config-inspector": "^1.4.2",
96
+ "@next/eslint-plugin-next": "^16.0.7",
100
97
  "@prettier/plugin-xml": "^3.4.2",
101
98
  "@stylistic/eslint-plugin-migrate": "^4.4.1",
102
- "@types/node": "^24.7.2",
103
- "@types/react": "^19.2.2",
104
- "@unocss/eslint-plugin": "^66.5.4",
105
- "bumpp": "^10.3.1",
106
- "eslint": "^9.37.0",
107
- "eslint-plugin-erasable-syntax-only": "^0.3.1",
108
- "eslint-plugin-format": "^1.0.2",
109
- "eslint-plugin-react-hooks": "^7.0.0",
99
+ "@types/node": "^24.10.1",
100
+ "@types/react": "^19.2.7",
101
+ "@unocss/eslint-plugin": "^66.5.10",
102
+ "bumpp": "^10.3.2",
103
+ "eslint": "^9.39.1",
104
+ "eslint-plugin-erasable-syntax-only": "^0.4.0",
105
+ "eslint-plugin-format": "^1.1.0",
106
+ "eslint-plugin-react-hooks": "^7.0.1",
110
107
  "eslint-plugin-react-refresh": "^0.4.24",
111
108
  "eslint-typegen": "^2.3.0",
112
109
  "esno": "^4.8.0",
113
- "execa": "^9.6.0",
114
- "lint-staged": "^16.2.4",
115
- "prettier": "^3.6.2",
116
- "react": "^19.2.0",
117
- "simple-git-hooks": "^2.13.1",
110
+ "execa": "^9.6.1",
111
+ "find-up-simple": "^1.0.1",
112
+ "lint-staged": "^16.2.7",
113
+ "prettier": "^3.7.4",
114
+ "react": "^19.2.1",
118
115
  "simple-open-url": "^3.0.1",
119
- "sucrase": "^3.35.0",
120
116
  "tinyglobby": "^0.2.15",
121
- "tsdown": "^0.15.7",
117
+ "tsdown": "^0.15.12",
122
118
  "typescript": "^5.9.3",
123
- "vitest": "^3.2.4",
124
- "vue": "^3.5.22",
125
- "@lincy/eslint-config": "6.0.0"
119
+ "vitest": "^4.0.15",
120
+ "vue": "^3.5.25",
121
+ "@lincy/eslint-config": "6.1.0"
126
122
  },
127
- "simple-git-hooks": {
123
+ "simple-git-hooks[-del]": {
128
124
  "pre-commit": "npx lint-staged"
129
125
  },
130
- "lint-staged": {
126
+ "lint-staged[-del]": {
131
127
  "*.{[jt]s?(x),vue,md}": "eslint --fix"
132
128
  },
133
129
  "publishConfig": {
@@ -142,6 +138,7 @@
142
138
  "typegen": "tsx scripts/typegen.ts",
143
139
  "lint": "pnpm run stub && eslint .",
144
140
  "lint:fix": "eslint . --fix",
145
- "lint:ts": "tsc --noEmit"
141
+ "lint:ts": "tsc --noEmit",
142
+ "prepare[-del]": "npx simple-git-hooks"
146
143
  }
147
144
  }