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

Way to disable certain css lint rules #1591

Open
3 tasks done
msklvsk opened this issue Dec 16, 2019 · 1 comment
Open
3 tasks done

Way to disable certain css lint rules #1591

msklvsk opened this issue Dec 16, 2019 · 1 comment

Comments

@msklvsk
Copy link

msklvsk commented Dec 16, 2019

  • I have searched through existing issues
  • I have read through docs
  • I have read FAQ

Info

  • Platform: macOS
  • Vetur version: 0.22.6
  • VS Code version: 1.41.0

Problem

There seems to be no documented way to disable certain css lint rules. Namely, the scss.lint.emptyRules a.k.a “Do not use empty rulesets” one. Settings in VSCode’s settings.json are not respected.

Reproducible Case

In a .vue file:

<style lang="scss">
.class {
  // todo: style it
}
</style>

image

image

@octref
Copy link
Member

octref commented Feb 11, 2020

Currently the only way is to do "vetur.validation.style": false. I should read settings form css/scss/less scope, probably.

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

No branches or pull requests

2 participants