Skip to content

Migrate ESLint to v9 with flat config and update dependencies#594

Merged
rzhao271 merged 3 commits intomainfrom
copilot/migrate-eslint-to-v9
Apr 2, 2026
Merged

Migrate ESLint to v9 with flat config and update dependencies#594
rzhao271 merged 3 commits intomainfrom
copilot/migrate-eslint-to-v9

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 2, 2026

  • Analyze current codebase and dependencies
  • Update package.json: eslint→^9, typescript-eslint@^8, globals@^16, update other major versions
    • devDependencies: @types/chai→^5, @types/mocha→^10, @types/node→^22, @types/vscode→^1.89.0, chai→^6, esbuild→^0.25, esbuild-plugin-svgr→^3, eslint→^9, added globals@^16, added typescript-eslint@^8, removed @typescript-eslint/eslint-plugin and @typescript-eslint/parser
    • dependencies: @vscode/extension-telemetry→^1.5.1
  • Create eslint.config.mjs (flat config, replaces .eslintrc.json and .eslintignore)
  • Delete .eslintrc.json and .eslintignore
  • Update lint script (removed --ext ts flag)
  • Update @vscode/extension-telemetry v0→v1 API usage in extension.ts (constructor and named import)
  • Fix named import in hexDocument.ts and hexEditorProvider.ts
  • Update eslint-disable comment in initWorker.ts (no-var-requires → no-require-imports)
  • Run npm install
  • Lint passes (eslint v9 flat config)
  • TypeScript type check passes
  • Code review (no actionable issues)
  • CodeQL check (0 alerts)
  • Merge origin/main (lodash-es bump, chore(deps-dev): bump lodash-es from 4.17.23 to 4.18.1 #595) to resolve package-lock.json conflict

Copilot AI and others added 2 commits April 2, 2026 00:44
@rzhao271 rzhao271 marked this pull request as ready for review April 2, 2026 00:57
@rzhao271 rzhao271 added this to the 1.115.0 milestone Apr 2, 2026
dmitrivMS
dmitrivMS previously approved these changes Apr 2, 2026
@rzhao271
Copy link
Copy Markdown
Contributor

rzhao271 commented Apr 2, 2026

@copilot Reapply changes to resolve merge conflict.

…t-to-v9

# Conflicts:
#	package-lock.json

Co-authored-by: rzhao271 <7199958+rzhao271@users.noreply.github.com>
Copy link
Copy Markdown
Contributor Author

Copilot AI commented Apr 2, 2026

@copilot Reapply changes to resolve merge conflict.

Merged origin/main (lodash-es bump from #595) into this branch and regenerated package-lock.json to resolve the conflict. Lint and type-check both pass. (9dd115b)

@rzhao271 rzhao271 merged commit f3cc423 into main Apr 2, 2026
6 checks passed
@rzhao271 rzhao271 deleted the copilot/migrate-eslint-to-v9 branch April 2, 2026 15:58
Copilot AI requested a review from rzhao271 April 2, 2026 16:19
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.

4 participants