1.0.0 • Published 8 years ago

stylelint-no-debug v1.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

stylelint-at-rule-no-debug

Build Status

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
  }
};