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
Fix rule-selector-property-disallowed-list
secondary options
#6723
Fix rule-selector-property-disallowed-list
secondary options
#6723
Conversation
🦋 Changeset detectedLatest commit: a510502 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
@mattxwang Thanks for creating the pull request!
Because the current test suite does not specify a // lib/rules/rule-selector-property-disallowed-list/__tests__/index.js
testRule({
ruleName,
config: [{ a: 'color' }, { message: 'foo' }],
reject: [
{
code: 'a { color: red; }',
message: 'foo',
description: 'custom message',
},
],
}); Incidentally, how about also fixing the position of
|
Co-authored-by: Masafumi Koba <473530+ybiquitous@users.noreply.github.com>
Thanks for the quick response, and sorry for the delay! I confirmed that the test case you suggested catches the bug, and that removing that one line resolves it. Have also updated the doc arrow to point at |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you. LGTM 👍🏼
(off-topic) Hi @mattxwang, Since @jeddy3 will be offline for a while (maybe a few months), could you please help me with the repository maintenance when you have time? |
Of course! Didn't realize that @jeddy3 is offline. I can certainly review more PRs and help out with dependencies, etc. |
Thank you! 😊 |
Closes #6688.
I'm a bit confused why this wasn't caught by the test suite when the rule was first made/messages were added; presumably, I should write a regression test here. Any suggestions?