diff options
Diffstat (limited to 'assets/node_modules/stylelint-scss/src/rules/at-mixin-argumentless-call-parentheses/README.md')
-rw-r--r-- | assets/node_modules/stylelint-scss/src/rules/at-mixin-argumentless-call-parentheses/README.md | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/assets/node_modules/stylelint-scss/src/rules/at-mixin-argumentless-call-parentheses/README.md b/assets/node_modules/stylelint-scss/src/rules/at-mixin-argumentless-call-parentheses/README.md new file mode 100644 index 0000000..0ee3d05 --- /dev/null +++ b/assets/node_modules/stylelint-scss/src/rules/at-mixin-argumentless-call-parentheses/README.md @@ -0,0 +1,47 @@ +# at-mixin-argumentless-call-parentheses + +Require or disallow parentheses in argumentless `@mixin` calls. + +```scss +@include mixin-name() { +/** ↑ + * Such mixin calls */ +``` + +The `--fix` option on the [command line](https://github.com/stylelint/stylelint/blob/master/docs/user-guide/cli.md#autofixing-errors) can automatically fix all of the problems reported by this rule. + +## Options + +`string`: `"always"|"never"` + +### `"always"` + +There *must always* be parentheses in mixin calls, even if no arguments are passed. + +The following patterns are considered warnings: + +```scss +@include mixin-name; +``` + +The following patterns are *not* considered warnings: + +```scss +@include mixin-name(); +``` + +### `"never"` + +There *must never* be parentheses when calling a mixin without arguments. + +The following patterns are considered warnings: + +```scss +@include mixin-name(); +``` + +The following patterns are *not* considered warnings: + +```scss +@include mixin-name; +``` |