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

Indicate when a rule is set to off/warn by a config in the README rules list #198

Merged
merged 1 commit into from Nov 1, 2022

Conversation

bmish
Copy link
Owner

@bmish bmish commented Oct 31, 2022

Fixes #182.

Previously, we had no way to indicate that a config set a rule to warn or off severity level in the README rules table. And we also didn't use a distinct emoji in the rule doc notice when indicating this.

Example of how the README rules table can now indicate when a config sets rules to warn or off:

✅ Enabled in the recommended configuration.
⚠️ Warns in the recommended configuration.
🚫 Disabled in the recommended configuration.

Name Description
no-baz Description of no-baz. ⚠️
no-bez Description of no-bez. 🚫
no-biz Description of no-biz.

Example of how a rule doc notice can now indicate when a config sets the rule to warn or off:

⚠️ This rule warns in the recommended config.

🚫 This rule is disabled in the recommended config.

@bmish bmish added the enhancement New feature or request label Oct 31, 2022
@bmish bmish force-pushed the list-disabled-warn branch 5 times, most recently from f25dc6f to 2278e0e Compare November 1, 2022 02:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Readme rules list has no way of indicating when a rule is disabled/warned by a config
1 participant