Skip to content

qmorel/stylelint-suitcss-custom-rules

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

stylelint-suitcss-rules

This [stylelint] configuration validates that your SCSS files follow the SuitCSS naming conventions (probably with some custom adjustments).

I encourage you to have a llok at src/index.js to see all the rules.

Installation

npm install --save-dev stylelint-suitcss-rules

Usage

Add this configuration to the end of your extends array inside .stylelintrc.

This package already extends stylelint-config-sass-guidelines and must be used with Sass/Scss files.

{
  "extends": [
    // ...some other shareable Stylelint configuration
    "stylelint-suitcss-rules"
  ],

  "rules": {
    // ...your own custom rules and overrides
  }
}

About

A set of custom SuitCSS rules for stylelint

Resources

Stars

Watchers

Forks

Packages

No packages published