@webdevstudios/stylelint-no-debugdeprecated

A custom stylelint rule to catch usage of @debug statements

Usage no npm install needed!

<script type="module">
  import webdevstudiosStylelintNoDebug from 'https://cdn.skypack.dev/@webdevstudios/stylelint-no-debug';
</script>

README

WebDevStudios Branding

@webdevstudios/stylelint-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 @webdevstudios/stylelint-no-debug

This plugin is compatible with v5.0.1+.

Details

a { /* Not OK */
   @debug $blue;
   color: $blue;
}

a { /* OK */
   color: $blue;
}

Usage

Add "@webdevstudios/stylelint-no-debug" to your stylelint config plugins array, then add @webdevstudios/stylelint-no-debug/no-debug to your rules, set to true.

As follows:

{
  "plugins": [
    "@webdevstudios/stylelint-no-debug"
  ],
  "rules": {
    "no-debug": true
  }
};

Changelog