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
unit "x" (image-set) #3026
Comments
Hi @strarsis did you possibly forget the first few questions in the template? Just having trouble following and the answers are still marked "e.g." Second question for you as I have not used this feature: do you think it would be accurate to consider "x" a unit? |
@CAYdenberg: Edited. |
SGTM. image-set is accepted as a standard, yes? Then it makes sense to add it to the whitelist. I'll label this as help wanted. Please consider contributing a fix if you have the time @strarsis |
As I would recommend using |
@hudochenkov btw we can add this unit as deprecated to avoid this problem, in css many deprecated things 😞 |
@strarsis You can use the |
@hudochenkov I think your statement that |
@SuperOl3g thank you for pointing to the example! There is an error in specification, but it's not what we think it is. Link for Latest CSS Values and Units Module is Level 3 and doesn't have
Users of currently non-standard syntax could use the |
@hudochenkov, I agree with you |
A new unit to be added to defaults.
unit-no-unknown
e.g.
e.g.
e.g.
7.12.0
webpack loader
Unsure.
No errors to be flagged.
Lint error:
I want to use the
image-set
syntax (PostCSS polyfill https://github.com/SuperOl3g/postcss-image-set-polyfill).In case this is deemed to be not standard enough for being added to default config, what would be the best practice for adding this unit as correct to my stylelint configuration?
The text was updated successfully, but these errors were encountered: