-
-
Notifications
You must be signed in to change notification settings - Fork 928
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
Document full configs for secondary option examples #4808
Comments
I found that I can do this:
But I did not understand this clearly from the documentation. It would be really helpful if the rules showed the full config in the options and secondary options, just an idea. |
Use "selector-pseudo-element-no-unknown": null
I would agree with you. Style of configuration examples in rule description are rather not user-friendly, and require quite some knowledge about how stylelint works and how it's configured. E. g. this is what we have in
This would be much more helpful for users:
|
Agreed. I'll label the issue as ready to go. @IAMtheIAM Please consider contributing these changes if you have time. |
selector-pseudo-element-no-unknown
with false
The initial issue is covered by #5091. |
I agree with @Mouvedia. If PR #6250 is merged, users will receive a more helpful message, and we've already provided the doc for turning off a rule. I think these are sufficient. |
I've |
@ybiquitous I think this issue is not about disabling rules, but documentation of configuration in general. ESLint for every example shows full config value for a rule. Stylelint docs show only part of a value. See my comment above for an example. #4808 (comment) |
Ah, I misunderstood it. Thanks for letting me know, @hudochenkov! |
That would require to edit many more markdown files other than this one. I don't think this is necessary or the priority should be very low. |
This issue is older than one month. Please ask before opening a pull request, as it may no longer be relevant. |
The
selector-pseudo-element-no-unknown
rule needs to accepttrue
andfalse
so it can be overridden when extending from a predefined config which has it set totrue
.selector-pseudo-element-no-unknown
No code
CLI
"Yes, it's related to SCSS nested properties."
"No error."
The text was updated successfully, but these errors were encountered: