Rule empty-args
will enforce whether or not parenthesis should be included if no arguments are defined or used, when declaring or invoking a mixin.
include
:true
/false
(defaults tofalse
)
When include: false
, the following are allowed. When include: true
, the following are disallowed:
@mixin bar {
padding: 10px;
}
.bar {
@include bar;
}
When include: true
, the following are allowed. When include: false
, the following are disallowed:
@mixin foo() {
padding: 10px;
}
.foo {
@include foo();
}