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 disabling diagnostics for certain scopes #2536

Open
tomrav opened this issue May 30, 2022 · 0 comments
Open

Support disabling diagnostics for certain scopes #2536

tomrav opened this issue May 30, 2022 · 0 comments
Labels
core Processing and transforming logic diagnostics Warnings and errors feature New syntax feature or behavior

Comments

@tomrav
Copy link
Collaborator

tomrav commented May 30, 2022

Proposal Description

We lack the ability to disable specific diagnostics by using a comment for a certain scope (e.g. file, block, next line) like many languages provide.

expected behavior - should not emit diagnostics for unscoped selectors on the next line.

/* st-disable-next-line core/unscoped-selector */
div {}
@tomrav tomrav added feature New syntax feature or behavior diagnostics Warnings and errors core Processing and transforming logic labels May 30, 2022
@tomrav tomrav added this to Stylable May 30, 2022
@tomrav tomrav moved this to ❓ Triage Required in Stylable May 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Processing and transforming logic diagnostics Warnings and errors feature New syntax feature or behavior
Projects
Status: Triage Required
Development

No branches or pull requests

1 participant