Skip to content
This repository has been archived by the owner on Apr 18, 2021. It is now read-only.

WebDevStudios/stylelint-no-debug

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WebDevStudios Branding

@webdevstudios/stylelint-no-debug


This package is DEPRECATED and no longer in use at WebDevStudios and will no longer be maintained.


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