Default stylelint config used by qiuzi.
npm install stylelint-config-qiuzi --save-dev
# Or with yarn:
yarn add stylelint-config-qiuzi --dev
This config is compatible with Stylelint v16.18.0 and above.
We provide a config for both CSS and SCSS. You can choose which one you would like to extend in your configuration:
{
"extends": "stylelint-config-qiuzi/css"
}
{
"extends": "stylelint-config-qiuzi/scss"
}
We also provide an ESM config file that you can use with modern JavaScript:
// stylelint.config.mjs
import qiuziConfig from "stylelint-config-qiuzi";
export default {
extends: [qiuziConfig],
// Your custom rules here
};