@igloosoftware/stylelint-config-igloo
v0.2.0
Published
Igloo stylelint configurations
Downloads
2
Readme
stylelint-config-igloo
Igloo Stylelint configurations
Prerequisites
Installation
Install the following packages as devDependencies:
yarn add --dev @igloosoftware/stylelint-config-igloo stylelint stylelint-order
Notice the stylelint dependencies. If your project uses SASS, you will also need stylelint-scss
.
Usage
Full Configurations
This package includes the following complete and ready to use configurations:
@igloosoftware/stylelint-config-igloo
- The base set of configurations.
Project Setup
To consume just add the extends attribute to your .stylelintrc
within your project's root.
{
"extends": "@igloosoftware/stylelint-config-igloo"
}
If you need to override specific rules within your project, you can do so like this:
{
"extends": "@igloosoftware/stylelint-config-igloo",
"rules": {
"string-quotes": "double",
}
}