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

Add after-dollar-variable option for dollar-variable-empty-line-before ignore #603

Closed
qmhc opened this issue May 10, 2022 · 0 comments · Fixed by #604
Closed

Add after-dollar-variable option for dollar-variable-empty-line-before ignore #603

qmhc opened this issue May 10, 2022 · 0 comments · Fixed by #604

Comments

@qmhc
Copy link
Contributor

qmhc commented May 10, 2022

I want to group variables of different types, like following:

$vxp-color-primary: #339af0;
$vxp-color-info: #3bc9db;

$vxp-border-radius; 4px;
$vxp-border-radius-large: 6px;

But ignore options of dollar-variable-empty-line-before rule not support after-dollar-variable.

When I added after-dollar-variable to except options, the following gets error:

$vxp-color-info: #3bc9db;

$vxp-border-radius; 4px;

Or I removed after-dollar-variable from except options, the following gets error:

$vxp-color-primary: #339af0;
$vxp-color-info: #3bc9db;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

1 participant