@dieproduktmacher/stylelint-config
v1.1.0
Published
Shared Stylelint config
Downloads
2
Readme
Shared stylelint config
Reusable Stylelint config
What's in?
- stylelint-config-standard as underlaying ruleset
- stylelint-config-prettier to disable rules that might conflict with Prettier (because we assume that Prettier is in use)
- Additional rules to support TailwindCSS Functions & Directives (because we assume that TailwindCSS is in use and it dosn't hurt if not)
Usage
yarn add -D stylelint @dieproduktmacher/stylelint-config
stylelint.config.js
module.exports = require('@dieproduktmacher/stylelint-config');
.stylelintignore
node_modules/
package.json
{
"scripts": {
"lint:css": "stylelint src/**/*.*ss"
}
}