@lincy/eslint-config 5.3.0 → 5.3.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.js CHANGED
@@ -1120,7 +1120,6 @@ async function react(options = {}) {
1120
1120
  interopDefault(import("@eslint-react/eslint-plugin")),
1121
1121
  // @ts-expect-error missing types
1122
1122
  interopDefault(import("eslint-plugin-react-hooks")),
1123
- // @ts-expect-error missing types
1124
1123
  interopDefault(import("eslint-plugin-react-refresh"))
1125
1124
  ]);
1126
1125
  const _isAllowConstantExport = ReactRefreshAllowConstantExportPackages.some(
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@lincy/eslint-config",
3
3
  "type": "module",
4
- "version": "5.3.0",
5
- "packageManager": "pnpm@9.14.2",
4
+ "version": "5.3.2",
5
+ "packageManager": "pnpm@9.15.0",
6
6
  "description": "LinCenYing's ESLint config",
7
7
  "author": "LinCenYing <lincenying@gmail.com> (https://github.com/lincenying/)",
8
8
  "license": "MIT",
@@ -31,7 +31,7 @@
31
31
  "release": "bumpp && npm publish -r --access public",
32
32
  "test": "vitest",
33
33
  "typegen": "esno scripts/typegen.ts",
34
- "lint": "pnpm run stub && eslint .",
34
+ "lint": "pnpm run stub && eslint . --flag unstable_ts_config",
35
35
  "lint:fix": "eslint . --flag unstable_ts_config --fix",
36
36
  "lint:ts": "tsc --noEmit",
37
37
  "prepare": "npx simple-git-hooks"
@@ -67,33 +67,33 @@
67
67
  },
68
68
  "dependencies": {
69
69
  "@antfu/eslint-define-config": "1.23.0-2",
70
- "@antfu/install-pkg": "^0.4.1",
70
+ "@antfu/install-pkg": "^0.5.0",
71
71
  "@clack/prompts": "^0.8.2",
72
72
  "@eslint-community/eslint-plugin-eslint-comments": "^4.4.1",
73
73
  "@eslint/markdown": "^6.2.1",
74
- "@stylistic/eslint-plugin": "2.10.1",
75
- "@typescript-eslint/eslint-plugin": "8.13.0",
76
- "@typescript-eslint/parser": "8.13.0",
77
- "@vitest/eslint-plugin": "^1.1.10",
74
+ "@stylistic/eslint-plugin": "2.11.0",
75
+ "@typescript-eslint/eslint-plugin": "8.17.0",
76
+ "@typescript-eslint/parser": "8.17.0",
77
+ "@vitest/eslint-plugin": "^1.1.16",
78
78
  "eslint-config-flat-gitignore": "^0.3.0",
79
79
  "eslint-flat-config-utils": "^0.4.0",
80
80
  "eslint-merge-processors": "^0.1.0",
81
81
  "eslint-parser-plain": "^0.1.0",
82
82
  "eslint-plugin-antfu": "^2.7.0",
83
- "eslint-plugin-import-x": "^4.4.3",
84
- "eslint-plugin-jsdoc": "^50.5.0",
83
+ "eslint-plugin-import-x": "^4.5.0",
84
+ "eslint-plugin-jsdoc": "^50.6.1",
85
85
  "eslint-plugin-jsonc": "^2.18.2",
86
- "eslint-plugin-n": "^17.14.0",
86
+ "eslint-plugin-n": "^17.15.0",
87
87
  "eslint-plugin-no-only-tests": "^3.3.0",
88
- "eslint-plugin-perfectionist": "^4.0.3",
88
+ "eslint-plugin-perfectionist": "^4.3.0",
89
89
  "eslint-plugin-regexp": "^2.7.0",
90
- "eslint-plugin-toml": "^0.11.1",
90
+ "eslint-plugin-toml": "^0.12.0",
91
91
  "eslint-plugin-unicorn": "^56.0.1",
92
92
  "eslint-plugin-unused-imports": "^4.1.4",
93
- "eslint-plugin-vue": "^9.31.0",
94
- "eslint-plugin-yml": "^1.15.0",
93
+ "eslint-plugin-vue": "^9.32.0",
94
+ "eslint-plugin-yml": "^1.16.0",
95
95
  "eslint-processor-vue-blocks": "^0.1.2",
96
- "globals": "^15.12.0",
96
+ "globals": "^15.13.0",
97
97
  "jsonc-eslint-parser": "^2.4.0",
98
98
  "local-pkg": "^0.5.1",
99
99
  "prompts": "^2.4.2",
@@ -103,38 +103,38 @@
103
103
  },
104
104
  "devDependencies": {
105
105
  "@antfu/ni": "^0.23.1",
106
- "@eslint-react/eslint-plugin": "^1.17.1",
106
+ "@eslint-react/eslint-plugin": "^1.19.0",
107
107
  "@eslint-types/jsdoc": "48.2.2",
108
108
  "@eslint-types/typescript-eslint": "^7.5.0",
109
109
  "@eslint-types/unicorn": "^52.0.0",
110
- "@eslint/config-inspector": "^0.5.6",
110
+ "@eslint/config-inspector": "^0.6.0",
111
111
  "@lincy/eslint-config": "workspace:*",
112
112
  "@prettier/plugin-xml": "^3.4.1",
113
- "@stylistic/eslint-plugin-migrate": "^2.11.0",
113
+ "@stylistic/eslint-plugin-migrate": "^2.12.1",
114
114
  "@types/fs-extra": "^11.0.4",
115
- "@types/node": "^22.9.3",
115
+ "@types/node": "^22.10.2",
116
116
  "@types/prompts": "^2.4.9",
117
- "@unocss/eslint-plugin": "^0.64.1",
118
- "bumpp": "^9.8.1",
119
- "eslint": "^9.15.0",
120
- "eslint-plugin-format": "^0.1.2",
121
- "eslint-plugin-react-hooks": "^5.0.0",
122
- "eslint-plugin-react-refresh": "^0.4.14",
117
+ "@unocss/eslint-plugin": "^0.65.1",
118
+ "bumpp": "^9.9.1",
119
+ "eslint": "^9.17.0",
120
+ "eslint-plugin-format": "^0.1.3",
121
+ "eslint-plugin-react-hooks": "^5.1.0",
122
+ "eslint-plugin-react-refresh": "^0.4.16",
123
123
  "eslint-ts-patch": "9.8.0-1",
124
124
  "eslint-typegen": "^0.3.2",
125
125
  "esno": "^4.8.0",
126
126
  "fs-extra": "^11.2.0",
127
- "lint-staged": "^15.2.10",
128
- "prettier": "^3.3.3",
129
- "react": "^18.3.1",
127
+ "lint-staged": "^15.2.11",
128
+ "prettier": "^3.4.2",
129
+ "react": "^19.0.0",
130
130
  "rimraf": "^6.0.1",
131
131
  "simple-git-hooks": "^2.11.1",
132
132
  "simple-open-url": "^3.0.1",
133
133
  "sucrase": "^3.35.0",
134
134
  "tsup": "^8.3.5",
135
- "typescript": "^5.6.3",
136
- "unbuild": "^2.0.0",
137
- "vitest": "^2.1.5",
135
+ "typescript": "^5.7.2",
136
+ "unbuild": "^3.0.1",
137
+ "vitest": "^2.1.8",
138
138
  "vue": "^3.5.13"
139
139
  },
140
140
  "pnpm": {
@@ -146,8 +146,8 @@
146
146
  },
147
147
  "resolutions": {
148
148
  "@eslint-community/eslint-utils": "^4.4.1",
149
- "@typescript-eslint/utils": "^8.15.0",
150
- "eslint": "^9.15.0",
149
+ "@typescript-eslint/utils": "^8.18.0",
150
+ "eslint": "^9.17.0",
151
151
  "tsx": "^4.19.2"
152
152
  },
153
153
  "simple-git-hooks": {