Skip to content

chore: Remove unused dependencies and dead code#900

Closed
braverass wants to merge 1 commit intoChromeDevTools:mainfrom
braverass:cleanup/dead-code-removal
Closed

chore: Remove unused dependencies and dead code#900
braverass wants to merge 1 commit intoChromeDevTools:mainfrom
braverass:cleanup/dead-code-removal

Conversation

@braverass
Copy link
Copy Markdown

This commit removes unused dependencies, files, and exports identified by static analysis tools (knip, depcheck, ts-prune).

Changes:

  • Remove unused devDependencies: @typescript-eslint/eslint-plugin, @typescript-eslint/parser, eslint-import-resolver-typescript
  • Remove unused files: puppeteer.config.cjs, tests/setup.ts, src/third_party/devtools-formatter-worker.ts
  • Remove unused export: ChromeChannel enum from src/telemetry/types.ts

Testing:

  • All tests pass (312/313, 1 known flaky test unrelated to changes)
  • TypeScript compilation successful
  • Build successful

@google-cla
Copy link
Copy Markdown

google-cla Bot commented Feb 6, 2026

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

This commit removes unused dependencies, files, and exports identified
by static analysis tools (knip, depcheck, ts-prune).

Changes:
- Remove unused devDependencies: @typescript-eslint/eslint-plugin,
  @typescript-eslint/parser, eslint-import-resolver-typescript
- Remove unused files: puppeteer.config.cjs, tests/setup.ts,
  src/third_party/devtools-formatter-worker.ts
- Remove unused export: ChromeChannel enum from src/telemetry/types.ts

Testing:
- All tests pass (312/313, 1 known flaky test unrelated to changes)
- TypeScript compilation successful
- Build successful

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@braverass braverass force-pushed the cleanup/dead-code-removal branch from da579b9 to 309ca6e Compare February 6, 2026 07:00
@OrKoN
Copy link
Copy Markdown
Collaborator

OrKoN commented Feb 6, 2026

Thanks for the PR but I think the unused code analysis is not correct.

@OrKoN OrKoN closed this Feb 6, 2026
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.

2 participants