1.0.0 • Published 8 years ago
stylelint-no-debug v1.0.0
stylelint-at-rule-no-debug
A stylelint custom rule to catch usage of @debug
statements.
This rule will cause stylelint to warn you whenever @debug
is used.
Installation
npm install stylelint-at-rule-no-debug
This plugin is compatible with v5.0.1+.
Details
a { /* Not OK */
@debug $blue;
color: $blue;
}
a { /* OK */
color: $blue;
}
Usage
Add "stylelint-at-rule-no-debug"
to your stylelint config plugins
array, then add at-rule-no-debug
to your rules, set to true
.
As follows:
{
"plugins": [
"stylelint-at-rule-no-debug"
],
"rules": {
"at-rule-no-debug": true
}
};
1.0.0
8 years ago