qmorel / stylelint-suitcss-custom-rules

A set of custom SuitCSS rules for stylelint

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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


Languages

Language:JavaScript 100.0%