@xiaohe01/stylelint-config
TypeScript icon, indicating that this package has built-in type declarations

2.4.0Β β€’Β PublicΒ β€’Β Published

xiaohe-stylelint-config

🀚 Stylelint config preset for xiaohe (inspired by antfu/eslint-config)

github stars npm version npm downloads JSDocs License

xiaohe0601 / 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

[!WARNING] Stylelint 16.13.0+ is now required

πŸ›Ή 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

Readme

Keywords

Package Sidebar

Install

npm i @xiaohe01/stylelint-config

Weekly Downloads

96

Version

2.4.0

License

MIT

Unpacked Size

22.6 kB

Total Files

7

Last publish

Collaborators

  • xiaohe0601