thingsboard/ui/node_modules/stylelint-scss/src/rules/at-mixin-argumentless-call-parentheses
2020-05-19 11:43:42 +03:00
..
2020-05-19 11:43:42 +03:00

at-mixin-argumentless-call-parentheses

Require or disallow parentheses in argumentless @mixin calls.

@include mixin-name() {
/**                ↑
 *                 Such mixin calls */

The --fix option on the command line 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:

@include mixin-name;

The following patterns are not considered warnings:

@include mixin-name();

"never"

There must never be parentheses when calling a mixin without arguments.

The following patterns are considered warnings:

@include mixin-name();

The following patterns are not considered warnings:

@include mixin-name;