csstree / csstree/vscode-plugin

(Enhancement) Ignore particular lines

Open
#5 4 comments 3 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
20
Forks
4
PR merge metrics
No merged PRs in 30d

Description

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`, and `width: 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. :smiley:

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.