Skip to content

Fix @typescript-eslint disable rules. #1093

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

Merged
merged 4 commits into from
May 27, 2021
Merged

Fix @typescript-eslint disable rules. #1093

merged 4 commits into from
May 27, 2021

Conversation

Res42
Copy link
Contributor

@Res42 Res42 commented May 23, 2021

PR Checklist

Overview

Fix converters for @typescript-eslint rules where the rule needs the base ESLint rule to be disabled.
Also added a sanity check test which naively searches for these rule pairs and fails if the base rule is not disabled.

@JoshuaKGoldberg JoshuaKGoldberg self-requested a review May 25, 2021 14:11
@JoshuaKGoldberg JoshuaKGoldberg added the status: waiting for reviewer Waiting for a maintainer to review label May 25, 2021
Comment on lines +32 to +35
{
ruleName: "indent",
ruleSeverity: "off",
},
Copy link
Collaborator

Choose a reason for hiding this comment

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

Based on #149, I think it is safe to update the Typescript ESLint Roadmap with this conversion. @JoshuaKGoldberg

Copy link
Collaborator

@KingDarBoja KingDarBoja left a comment

Choose a reason for hiding this comment

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

Outstanding job! 🇭🇺

Copy link
Member

@JoshuaKGoldberg JoshuaKGoldberg left a comment

Choose a reason for hiding this comment

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

The rule converter fixes are EXCELLENT, thank you! But: I don't think the added test needs to be there?

@JoshuaKGoldberg JoshuaKGoldberg added status: waiting for author The PR author should address requested changes and removed status: waiting for reviewer Waiting for a maintainer to review labels May 27, 2021
@JoshuaKGoldberg JoshuaKGoldberg removed the status: waiting for author The PR author should address requested changes label May 27, 2021
Copy link
Member

@JoshuaKGoldberg JoshuaKGoldberg left a comment

Choose a reason for hiding this comment

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

Thanks! 💯

@JoshuaKGoldberg JoshuaKGoldberg merged commit a4bdfb0 into typescript-eslint:main May 27, 2021
@Res42 Res42 deleted the feature/1091 branch May 27, 2021 18:48
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.

Missing ESLint rule disable in @typescript-eslint rule converter(s)
3 participants