@lego/stylelint-config-scss
v6.1.2
Published
LEGO shareable stylelint config for css and scss projects
Downloads
7
Readme
@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: {
// your overrides or custom rules here
},
};
or if you prefer the json formatted .stylelintrc
file:
{
"extends": "@lego/stylelint-config-scss",
"rules": {
// your overrides or custom rules here
}
}
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
- https://github.com/kristerkari/stylelint-scss