Skip to content

Commit 6837fc5

Browse files
committed
optimize(projects): optimize
1 parent 1300317 commit 6837fc5

File tree

3 files changed

+2
-6
lines changed

3 files changed

+2
-6
lines changed

package.json

-1
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,6 @@
139139
"devDependencies": {
140140
"@soybeanjs/cli": "1.1.1",
141141
"@toml-tools/parser": "1.0.0",
142-
"@types/eslint": "9.6.1",
143142
"@types/eslint-config-prettier": "6.11.3",
144143
"@types/eslint__js": "8.42.3",
145144
"@types/node": "22.7.9",

pnpm-lock.yaml

-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/configs/javascript.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ export function createJsConfig(overrides: Record<string, string> = {}) {
77
const js: FlatConfigItem[] = [
88
{
99
languageOptions: {
10-
ecmaVersion: 2022,
10+
ecmaVersion: 2023,
1111
globals: {
1212
...globals.browser,
13-
...globals.es2021,
13+
...globals.es2025,
1414
...globals.node,
1515
document: 'readonly',
1616
navigator: 'readonly',

0 commit comments

Comments
 (0)