-
-
Notifications
You must be signed in to change notification settings - Fork 930
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
Improve documentation of "always-multi-line" in at-rule-name-newline-after #2273
Comments
The rule works like expected. @mixin columns(
$selector: $column-selector,
$properties: $column-properties,
$columns: $column-count,
$queries: $queries
) {} After at-rule name I think we should improve description for this rule. It's clear from examples what this rule checks, but it's not — from a text. |
Agreed.
Agreed. Currently, the docs say:
It's the "at-rule blocks" bit that is off. Any idea what the bit between at-rule name and the opening brace is called? |
For |
SGTM. It's called group rule body for conditional group rules - so going with something generic like "parameters list" sounds good to me. |
How about just "parameters"? No need for the word "list", right?
… On Jan 21, 2017, at 5:36 AM, Richard Hallows ***@***.***> wrote:
I propose to use “parameters list”.
SGTM. It's called group rule body for conditional group rules - so going with something generic like "parameters list" sounds good to me.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Done in #2304 |
I think there's a bug the rule, it shows an error even when the snippet complies with it. It doesn't happen with all the
@mixin
at-rules but only with these specially long and deeply nested rules that you can find in the Flexbox Grid SCSS code.at-rule-name-newline-after
7.7.1
CLI with
stylelint scss/**/*.scss --syntax scss
and IDE/Editor pluginsYes, it's related to SCSS syntax.
No errors to be flagged.
The following errors were flagged:
scss/_fg-grid.scss 118:6 ✖ Expected newline after at-rule name "@mixin" at-rule-name-newline-after
The text was updated successfully, but these errors were encountered: