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 special case handling for rule doc notice fixableAndHasSuggestions #230

Merged
merged 1 commit into from
Nov 15, 2022

Conversation

bmish
Copy link
Owner

@bmish bmish commented Nov 15, 2022

Avoid having "magic" notice types that toggle on/off by themselves. Instead, just have the fixableAndHasSuggestions rule doc notice type on by default, and it will adjust its own output depending on whether the rule is fixable or has suggestions. The separate fixable and hasSuggestions notice types are now off by default and only used when the user explicitly turns them on.

No behavior change unless users were already customizing the behavior of these notices with --rule-doc-notices.

@bmish bmish added the bug Something isn't working label Nov 15, 2022
@bmish bmish force-pushed the remove-special-case-for-fixable-suggestions-notice branch from 6d99bb9 to 844b3a8 Compare November 15, 2022 15:59
@bmish bmish merged commit 14d272b into main Nov 15, 2022
@bmish bmish deleted the remove-special-case-for-fixable-suggestions-notice branch November 15, 2022 16:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant