mirror of
https://github.com/CharaChorder/DeviceManager.git
synced 2026-01-20 17:03:42 +00:00
1.1 KiB
1.1 KiB
at-mixin-parentheses-space-before
Require or disallow a space before @mixin parentheses.
@mixin foo ($arg) { }
/** ↑
* The space before this parenthesis */
The fix option can automatically fix all of the problems reported by this rule.
Options
string: "always"|"never"
"always"
There must always be exactly one space between the mixin name and the opening parenthesis.
Note: This rule does not enforce parentheses to be present in a declaration without arguments.
The following patterns are considered warnings:
@mixin foo($arg) { }
@mixin foo ($arg) { }
The following patterns are not considered warnings:
@mixin foo ($arg) { }
@mixin foo { }
"never"
There must never be any whitespace between the mixin name and the opening parenthesis.
The following patterns are considered warnings:
@mixin foo ($arg) { }
The following patterns are not considered warnings:
@mixin foo($arg) { }
@mixin foo { }