Require or disallow a space before @function
parentheses.
@function foo ($arg) { }
/** ↑
* The space before this parenthesis */
The --fix
option on the command line can automatically fix all of the problems reported by this rule.
string
: "always"|"never"
There must always be exactly one space between the function name and the opening parenthesis.
The following patterns are considered warnings:
@function foo($arg) { }
@function foo ($arg) { }
The following patterns are not considered warnings:
@function foo ($arg) { }
There must never be any whitespace between the function name and the opening parenthesis.
The following patterns are considered warnings:
@function foo ($arg) { }
The following patterns are not considered warnings:
@function foo($arg) { }