1.0.1 โข Published 5 months ago
@xiaohe01/stylelint-config v1.0.1
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,html,vue}",
"stylelint:fix": "stylelint **/*.{css,scss,html,vue} --fix"
}
}
For more information, please refer to stylelint.
๐ถ Discussion & Communication
- โ๏ผFor questions or bug feedback, you can submit an issues and PR are welcome
- ๐ซ๏ผxiaohe0601@outlook.com
- ๐ง๏ผNot yet available
๐ License
- MIT LICENSE