2.0.0 • Published 3 years ago
@thedrawingroom/stylelint-config v2.0.0
@thedrawingroom/stylelint-config
A stylelint config based on sass-guidelin.es.
This linter has been designed / tested with SCSS syntax based on the SCSS guidelines documented in https://sass-guidelin.es/. It is intended for use with SCSS syntax, not Sass (tab style) syntax.
Installation
$ npm install --save @thedrawingroom/stylelint-config
Usage
Set your stylelint config to:
{
"extends": "@thedrawingroom/stylelint-config"
}
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": "@thedrawingroom/stylelint-config",
"rules": {
"indentation": "tab",
"number-leading-zero": null
}
}
Documentation
Plugins
stylelint-order
: A plugin pack of order related linting rules for stylelint.stylelint-scss
: A collection of SCSS specific linting rules for stylelint
Value
value-no-vendor-prefix
: Disallow vendor prefixes for values.