We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
For example, if config in .stylelintrc:
.stylelintrc
{ rules: { "order/order": [ "at-rules", "dollar-variables", "declarations", "rules", ], }, }
Then declare styles in Vue:
<style lang="scss"> $foo: bar; .foo { color: red; } @include my-mixin; </style>
stylelint-order will raise an error:
Expected blockless @include to come before rule (order/order)
And convert it to:
<style lang="scss"> @include my-mixin; $foo: bar; .foo { color: red; } </style>
However, I want the order only works in the declarations, not on the top level.
And if declare these style declarations in a single scss file instead of vue, it can work correctly.
scss
vue
The text was updated successfully, but these errors were encountered:
No branches or pull requests
For example, if config in
.stylelintrc
:Then declare styles in Vue:
stylelint-order will raise an error:
And convert it to:
However, I want the order only works in the declarations, not on the top level.
And if declare these style declarations in a single
scss
file instead ofvue
, it can work correctly.The text was updated successfully, but these errors were encountered: