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

Make --report-needless-disables CLI flag respect stylelint-disable commands #4714

Merged
merged 1 commit into from May 12, 2020

Conversation

ota-meshi
Copy link
Member

Which issue, if any, is this issue related to?

Closes #4203

Is there anything in the PR that needs further explanation?

This PR modifies ignoreDisables to not be implicitly used when using the reportNeedlessDisables option.

Copy link
Member

@jeddy3 jeddy3 left a comment

Choose a reason for hiding this comment

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

This is great, thanks!

@jeddy3 jeddy3 mentioned this pull request May 6, 2020
6 tasks
@jeddy3 jeddy3 merged commit 3518f03 into master May 12, 2020
@jeddy3 jeddy3 deleted the report-needless-disables branch May 12, 2020 10:18
@thibaudcolas
Copy link
Member

Wow! I only half understand the change, but it’s great to see this fixed. Thank you for figuring this out.

@jeddy3
Copy link
Member

jeddy3 commented May 12, 2020

Changelog:

  • Fixed: --report-needless-disables respects stylelint-disable commands (#4714).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Make --report-needless-disables CLI flag respect stylelint-disable commands
4 participants