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
'Expected empty line before declaration' error for delaration after nested property #3002
Comments
Thank you for reporting and using a template. Can you show a full error message, please, with line and column numbers? |
I believe this is the expected behaviour? We could add |
Thanks for the immediate response! _mobile.header.scss:
shell:
|
Oh I see. There's an argument to be made that |
|
Thanks for the clarification. |
As @hudochenkov and @CAYdenberg have diagnosed, the rule is behaving as intended. The
In the example above, the @johanneskrtek I believe you have four options:
|
Warning for standard SCSS syntax (related to #2456).
declaration-empty-line-before
e.g.
e.g.
e.g.
8.2.0
npm
script with"lint": "./node_modules/.bin/stylelint --syntax scss \"src/scss/**/*.scss\""
Yes, it’s related to SCSS nested properties.
No warnings to be flagged.
The following warnings were flagged:
The text was updated successfully, but these errors were encountered: