@lego/stylelint-config-scss
Prerequisites
- Don't use
@lego/stylelint-config-scss
as a globally installed module
Installation
- Install this config package:
$ npm install --save-dev @lego/stylelint-config-scss
Usage
Full Configurations
module.exports = {
extends: '@lego/stylelint-config-scss',
rules: {
},
};
or if you prefer the json formatted .stylelintrc
file:
{
"extends": "@lego/stylelint-config-scss",
"rules": {
}
}
Limitations
Due to an issue with Stylelint, config extension cannot be called from a globally installed (npm install -g stylelint
) stylelint.
Included Plugins
stylelint-scss
A collection of SCSS specific linting rules for stylelint