Skip to content
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

Support attr as a value #47

Closed
hjonasson opened this issue Jul 25, 2022 · 5 comments
Closed

Support attr as a value #47

hjonasson opened this issue Jul 25, 2022 · 5 comments

Comments

@hjonasson
Copy link

Hi there,

I am cleaning up our stylelint config and I came across what seems to be a missing feature in the stylelint validator. Namely, to write this

content: attr(title);

I need to have an ignoreValue pattern, (which I write attr.* for reference). I can not see from the docs that using attr is supported by the validator. Could you show me how I am wrong about that or point me in a direction to where I could add this support here?

Thanks

@lahmatiy
Copy link
Member

Update css-tree to 2.2.0, should work.

@hjonasson
Copy link
Author

hjonasson commented Aug 10, 2022 via email

@hjonasson
Copy link
Author

I am just getting around to doing that now. Does stylelint-csstree-validator need to have that release created? The latest version is from 2021 and 2.0.0 is the latest version on npm

For reference, my dependency is

    "stylelint-csstree-validator": "^2.0.0",

@lahmatiy
Copy link
Member

Fixed in 2.1.0

@hjonasson
Copy link
Author

hjonasson commented Jan 30, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants