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

False positive: "Parsing error: Expected a pseudo-class or pseudo-element" when using Sass property nesting #371

Open
JoCa96 opened this issue Oct 17, 2024 · 0 comments

Comments

@JoCa96
Copy link

JoCa96 commented Oct 17, 2024

There is a false positive for the rule vue-scoped-css/no-parsing-error, when using SCSS and the Property Declaration Nesting feature.

<style lang="scss"> // <-- Parsing error: Expected a pseudo-class or pseudo-element. eslint(vue-scoped-css/no-parsing-error)
h1 {
  border: {
    style: solid;
    width: 2px;
    color: red;
  }
}
</style>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant