Skip to content

Commit

Permalink
optimize(projects): optimize
Browse files Browse the repository at this point in the history
  • Loading branch information
honghuangdc committed Oct 24, 2024
1 parent 1300317 commit 6837fc5
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,6 @@
"devDependencies": {
"@soybeanjs/cli": "1.1.1",
"@toml-tools/parser": "1.0.0",
"@types/eslint": "9.6.1",
"@types/eslint-config-prettier": "6.11.3",
"@types/eslint__js": "8.42.3",
"@types/node": "22.7.9",
Expand Down
3 changes: 0 additions & 3 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/configs/javascript.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ export function createJsConfig(overrides: Record<string, string> = {}) {
const js: FlatConfigItem[] = [
{
languageOptions: {
ecmaVersion: 2022,
ecmaVersion: 2023,
globals: {
...globals.browser,
...globals.es2021,
...globals.es2025,
...globals.node,
document: 'readonly',
navigator: 'readonly',
Expand Down

0 comments on commit 6837fc5

Please sign in to comment.