@comparaonline/stylelint-config-scss-modules
v1.1.0
Published
ComparaOnline stylelint configuration for SCSS projects using CSS modules
Downloads
45
Readme
stylelint-config-scss-modules
The ComparaOnline stylelint shareable configuration for CSS modules using SASS.
Installation
First, you need stylelint, if it isn't installed yet...
$ npm install --save-dev stylelint
Then,
$ npm install --save-dev @comparaonline/stylelint-config-scss-modules
Usage
Add this package into the extends
section of your .stylelintrc.js
file.
{
extends: '@comparaonline/stylelint-config-scss-modules'
}
Now you can execute stylelint
in a npm script, as example:
"scripts": {
"lint:styles": "stylelint './app/**/*.scss'",
}