xiaohe-stylelint-config
🤚 Stylelint config preset for xiaohe

Xiaohe / github@xiaohe0601 / gitee@xiaohe0601
🚁 Installation
PNPM
pnpm add -D stylelint @xiaohe01/stylelint-config
YARN
yarn add --dev stylelint @xiaohe01/stylelint-config
NPM
npm install -D stylelint @xiaohe01/stylelint-config
🛹 Usage
Create stylelint.config.js
in your project root
import defineConfig from "@xiaohe01/stylelint-config";
export default defineConfig();
Add script for package.json
, for example
{
"scripts": {
"stylelint": "stylelint **/*.{css,scss,vue,html}",
"stylelint:fix": "stylelint **/*.{css,scss,vue,html} --fix"
}
}
For more information, please refer to stylelint.
🐶 Discussion & Communication
🏆 License