@xiaohe01/stylelint-config
v3.6.1
Published
๐ค Xiaohe's Stylelint config preset
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
