A personally created StyleLint shareable configuration set.
$ npm install --save-dev stylelint-config-custrino
Used by specifying in the extends
section of the StyleLint configuration.
{
"extends": ["stylelint-config-custrino", "stylelint-config-custrino/xxxx"]
}
Additional configurations can be used depending on the project.
You need to add a corresponding plugin.
This configuration enables the rules for SCSS.
Add required plugins:
$ npm install --save-dev stylelint-scss
This configuration enables the rules for CSS in JS.