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

chore: remove unused tools: rule-types.json, update-rule-types.js #18125

Merged
merged 2 commits into from Feb 18, 2024

Conversation

JoshuaKGoldberg
Copy link
Contributor

@JoshuaKGoldberg JoshuaKGoldberg commented Feb 18, 2024

Prerequisites checklist

What is the purpose of this pull request? (put an "X" next to an item)

[ ] Documentation update
[ ] Bug fix (template)
[ ] New rule (template)
[ ] Changes an existing rule (template)
[ ] Add autofix to a rule
[ ] Add a CLI option
[ ] Add something to the core
[x] Other, please explain: Internal cleanup

What changes did you make? (Give an overview)

Fixes #18121.

Removes two unused files as noted in the issue.

Also removes the marked dependency, as it appears nothing is using it now.

Is there anything you'd like reviewers to focus on?

I don't have a lot of context on these older internal utilities.

@JoshuaKGoldberg JoshuaKGoldberg requested a review from a team as a code owner February 18, 2024 15:24
@eslint-github-bot eslint-github-bot bot added the chore This change is not user-facing label Feb 18, 2024
Copy link

netlify bot commented Feb 18, 2024

Deploy Preview for docs-eslint canceled.

Name Link
🔨 Latest commit 079105c
🔍 Latest deploy log https://app.netlify.com/sites/docs-eslint/deploys/65d227178abe6b0008f36162

Makefile.js Outdated
@@ -670,168 +668,6 @@ target.webpack = function(mode = "none") {
exec(`${getBinFile("webpack")} --mode=${mode} --output-path=${BUILD_DIR}`);
};

target.checkRuleFiles = function() {
Copy link
Member

Choose a reason for hiding this comment

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

We can remove checks related to tools/rule-types.json, but all other checks should remain.

@mdjermanovic mdjermanovic linked an issue Feb 18, 2024 that may be closed by this pull request
@mdjermanovic mdjermanovic added the accepted There is consensus among the team that this change meets the criteria for inclusion label Feb 18, 2024
Copy link
Member

@mdjermanovic mdjermanovic left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@mdjermanovic
Copy link
Member

Browser test is failing for reasons unrelated to this PR, and is already failing in the same way on the main branch, so I think it's safe to merge.

@mdjermanovic mdjermanovic merged commit 66f52e2 into eslint:main Feb 18, 2024
17 of 18 checks passed
@JoshuaKGoldberg JoshuaKGoldberg deleted the remove-unused-tools-rules branch February 18, 2024 16:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accepted There is consensus among the team that this change meets the criteria for inclusion chore This change is not user-facing
Projects
Status: Complete
Development

Successfully merging this pull request may close these issues.

Repo: Remove unused tools/update-rule-types.js
2 participants