@xiaohe01/stylelint-config
v3.9.0
Published
π€ Xiaohe's Stylelint config preset
Downloads
383
Readme
π 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[!WARNING] Require Stylelint >= 16.13.0.
πΉ Usage
Create stylelint.config.mjs 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.
π License
MIT LICENSE
