-
Notifications
You must be signed in to change notification settings - Fork 4
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
(Enhancement) Ignore particular lines #5
Comments
I'd also like to be able to do this. In my case to silence a validator error when using @font-face {
font-display: swap;
} see: csstree/csstree#108 |
Any update on this? |
Issue with I believe that comments is not a good approach to disable validation. Options we have:
|
The 'csstree-ignore-line' comment would be a great way to handle this. It's flexible, easy to understand and apply, and wouldn't require any configuration changes. |
Could you add an option to have this VSCode extension ignore particular lines? For example, any line that includes "
/* csstree-ignore-line */
".I have some code in my CSS for older browsers (e.g.
-webkit-margin-before:
,-webkit-margin-after:
,width: -webkit-fill-available
,width: -moz-available
, andwidth: fill-available
), which are reported as errors, and I'd rather have an empty "Problems" window in VSCode. Giving me a way to have your extension not report those lines as errors would really be appreciated.Thank you, and thank you for the VSCode extension. 😃
The text was updated successfully, but these errors were encountered: