-
Notifications
You must be signed in to change notification settings - Fork 26
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
importFrom HTML #33
Comments
I suppose it may be possible if the plugin could just "see" all files that stylelint sees. I lint HTML inline CSS via this stylelint config: overrides:
- files: ["**/*.html"]
customSyntax: postcss-html So if the plugin can "see" all files in the lint, an option like |
Also see discussion stylelint/stylelint#6361. |
I think this is beyond the scope of this rule. You might get creative with |
Luckily I have since moved my vars to |
I use a pattern where CSS vars are declared in a
<style>
tag in HTML to ensure they are available in all imported CSS files. Would be nice if this plugin could offer a way to read the vars from HTML:The text was updated successfully, but these errors were encountered: