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
function-no-unknown
: fix linear
xywh
light-dark
false positives
#7226
Comments
@Mouvedia Good catch. I think sending a PR to |
- webkit-gradient - color-stop - from - to - light-dark stylelint/stylelint#5960 stylelint/stylelint#7226
Since this is currently in draft stage and it’s not documented on MDN, css-functions-list doesn’t include it. I could probably add |
@Mouvedia @niksy Thanks for addressing this issue. Until a reflection to stylelint/lib/rules/function-no-unknown/index.js Lines 51 to 58 in 2a1fc6d
|
After additional consideration, I’ve decided to add those functions. If you’re familiar with additional resources, I can add them so we don’t have to add exceptions manually. Available in https://github.com/niksy/css-functions-list/releases/tag/v3.2.1 |
function-no-unknown
light-dark
false positivefunction-no-unknown
: fix linear
xywh
light-dark
false positives
OK, will try to manually add those 3 also, so Stylelint doesn’t need to have special cases. Can you give me more information on |
IMHO you can wait; a commit will do.
see #5960 (comment)
Not really but adding |
What minimal example or steps are needed to reproduce the bug?
What minimal configuration is needed to reproduce the bug?
How did you run Stylelint?
https://stylelint.io/demo
See also
https://drafts.csswg.org/css-color-5/#light-dark
mdn/browser-compat-data#20935
Do you have a proposal to fix the bug?
either update https://github.com/niksy/css-functions-list/blob/master/index.jsonThe text was updated successfully, but these errors were encountered: