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 false positives in *-no-unknown #5157
Comments
@Mouvedia Thanks for the report and for using the template.
We'll need to update our reference lists of keywords. I've labelled the issue as ready to implement. Please consider contributing this if you have time.
The rules consider pseudo-classes and elements from the specifications to be known. Those that belong to methodologies and language extensions can be allowed using the |
@jeddy3 If I did, I would also update the whitelists of selector-type-no-unknown, at-rule-no-unknown and unit-no-unknown; is that a problem? |
@Mouvedia That would be fantastic! Since first creating the sets, we've updated them piecemeal as users have reported missing items. It'd be great to give them the once over as new CSS specifications are constantly being added and it's likely the lists have fallen out of date. The sets are either broken down by the sections of a specification (and usually accompanied by the URL to the specification in a comment beforehand) or by the needs of a particular rule. Thank you! |
Don't dream. I cannot arbitrate all the additions.
Wait for the PR to thank me :) |
- @Property - nobr tag - :state() - ::file-selector-button - lh, rlh, mozmm units
Closed in #5158 |
Some pseudo classes/elements are missing from the whitelists of:
https://www.chromestatus.com/feature/5676301379698688
https://www.chromestatus.com/feature/6537562418053120
https://github.com/css-modules/css-modules
The list is not exhaustive. Personally I think
:global
and:local
could be considered as well.https://stylelint.io/demo
no errors
The text was updated successfully, but these errors were encountered: