Skip to content

chore(deps): 遷移 ESLint 8 → 10(flat config)#59

Merged
AsiaOstrich merged 1 commit intomainfrom
chore/eslint-10-migration
Mar 30, 2026
Merged

chore(deps): 遷移 ESLint 8 → 10(flat config)#59
AsiaOstrich merged 1 commit intomainfrom
chore/eslint-10-migration

Conversation

@AsiaOstrich
Copy link
Copy Markdown
Owner

Summary

  • 升級 eslint 8.57.1 → 10.1.0
  • 遷移 .eslintrc.jsoneslint.config.js(flat config)
  • 新增 @eslint/jsglobals devDependencies
  • ESLint 10 新規則(no-useless-assignment)設為 warn,漸進修復

Test plan

  • Lint: 0 errors, 32 warnings
  • Unit tests: 1731 passed
  • Full tests (含 E2E): 1902 passed, 0 failed
  • 多平台:本地 macOS 通過,CI 待驗證 Ubuntu + Windows

Closes #54

🤖 Generated with Claude Code

- 升級 eslint 從 8.57.1 至 10.1.0
- 新增 @eslint/js 和 globals 作為 devDependencies
- 將 .eslintrc.json 遷移至 eslint.config.js(flat config 格式)
- ESLint 10 新規則 no-useless-assignment 設為 warn,preserve-caught-error 設為 off
- 0 errors, 32 warnings(向後相容)
- 全套 1902 tests passed(含 E2E)

Closes #54

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@AsiaOstrich AsiaOstrich force-pushed the chore/eslint-10-migration branch from bc501f6 to 0b83e74 Compare March 30, 2026 01:48
@AsiaOstrich AsiaOstrich merged commit 63c40d8 into main Mar 30, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant