Skip to content
This repository has been archived by the owner on Dec 4, 2022. It is now read-only.

regardio/stylelint-config-regardio

Repository files navigation

stylelint-config-regardio

NPM version Build Status AppVeyor Build Status

Regardio shareable config for stylelint.

Configuration rules to ensure your (S)CSS code is compliant with Regardio's styleguide.

This configuration extends stylelint-config-suitcss.

The styleguide adapts concepts from

Installation

$ npm install stylelint-config-regardio --save-dev

Usage

Create a .stylelintrc file in your project and set your config to:

{
  "extends": "stylelint-config-regardio"
}

This configuration then can be consumed by various tools.
We recommend using a plugin for your build tool and editor.

Extending the config

Simply add a "rules" key to your config and add your overrides there.

For example, to change the indentation to tabs and turn off the number-leading-zero rule:

{
  "extends": "stylelint-config-regardio",
  "rules": {
    "indentation": "tab",
    "number-leading-zero": null
  }
}

About

Regardio shareable config for stylelint.

Resources

License

Stars

Watchers

Forks

Packages

No packages published