Repository navigation
Remove unused devDependencies - #4600
Merged
Merged
Conversation
Removes unused devDependencies from extensions/ql-vscode/package.json: - @babel/preset-react - @babel/preset-typescript - @types/styled-components - @typescript-eslint/eslint-plugin - cosmiconfig - eslint-plugin-etc Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
Usage checks and lockfile validation support the removals, with no blocking regressions identified.
0 open findings
What changed in this PR
Removes six unused direct development dependencies from the CodeQL extension.
Changes:
- Drops obsolete Babel presets, lint packages, configuration tooling, and redundant type definitions.
- Updates the lockfile to prune dependencies no longer needed.
| File | Description |
|---|---|
| extensions/ql-vscode/package.json | Removes unused development dependencies. |
| extensions/ql-vscode/package-lock.json | Synchronizes declarations and prunes unused packages. |
Files not reviewed (1)
- extensions/ql-vscode/package-lock.json: Generated file
🧠 Review effort: Max
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Removes unused
devDependenciesfromextensions/ql-vscode/package.json:@babel/preset-react,@babel/preset-typescript,cosmiconfig: Leftovers from the Storybook 7 upgrade; Storybook now uses Vite (@storybook/react-vite) and Jest usests-jest.eslint-plugin-etc: Leftover from.eslintrc.js; unused ineslint.config.mjs.@types/styled-components:styled-componentsv6 ships its own TypeScript definitions (@types/styled-componentsis for v5).@typescript-eslint/eslint-plugin: Never imported directly (eslint.config.mjsusestypescript-eslint).