0.1.8 • Published 2 years ago
@clubdrei/stylelint-config v0.1.8
Stylelint-config-clubdrei
The single source of truth for c3 projects
Use
install @clubdrei/stylelint-config
npm install @clubdrei/stylelint-config --save-dev
This package includes Stylelint
After Installation, create a stylelint.config.js
in the root folder of the project.
Add following code to the file:
module.exports = {
extends: '@clubdrei/stylelint-config',
};
Add this command to your scripts
in the package.json
"lint:css": "stylelint --config stylelint.config.js \"src/**/*.{css,scss,vue}\"",
Included Plugins
Custom Rules
Rule | Options | Short Description | Type |
---|---|---|---|
at-include-parentheses-space-before | always , never | Require or disallow a space before @include parentheses. | SCSS |
Other
disable-rule If you updating the project add it to here