Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unused js #2803

Merged
merged 3 commits into from
Jan 10, 2025
Merged

Remove unused js #2803

merged 3 commits into from
Jan 10, 2025

Conversation

paul-butcher
Copy link
Contributor

@paul-butcher paul-butcher commented Jan 9, 2025

What does this change?

This removes the Javascript and CSS linting stuff from the root of the project.

There is only one small part of this project where Javascript is used, and that is rarely touched and likely to be removed as its use has been superseded by the datalink explorer

The now-deleted package.json was a source of some critical vulnerability warnings (https://github.com/wellcomecollection/catalogue-pipeline/security/dependabot/220 and https://github.com/wellcomecollection/catalogue-pipeline/security/dependabot/211). Although these are not real vulnerabilities because this package was unused, and certainly not on a live system, they are a distraction when we investigate actual vulnerabilities.

How to test

Deleted code is debugged code!

How can we measure success?

Fewer critical vulnerabilities, fewer dependencies to keep up to date.

Have we considered potential risks?

Maybe someone is using the eslint pre commit hook, and I've misjudged its usefulness in this repository. If so, we can close this PR unmarked and I'll work on sorting out those transitive dependencies.

@paul-butcher paul-butcher marked this pull request as ready for review January 9, 2025 10:28
@paul-butcher paul-butcher requested a review from a team as a code owner January 9, 2025 10:28
Copy link
Contributor

@kenoir kenoir left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👏

@paul-butcher paul-butcher merged commit ab76d01 into main Jan 10, 2025
5 checks passed
@paul-butcher paul-butcher deleted the remove-unused-js branch January 10, 2025 10:24
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