0.0.5 • Published 2 years ago

@kuohuanhuan/stylelint-config v0.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

@kuohuanhuan/stylelint-config

My configurations for Stylelint, supports CSS and SCSS.

This will automatically sort the CSS rules - with zero setup.

Installation

Install via NPM:

npm i stylelint @kuohuanhuan/stylelint-config -D

Usage

Add chosen config to the extends section of your Stylelint config file (e.g. .stylelintrc):

  • Both CSS and SCSS (recommended)
{
  "extends": ["@kuohuanhuan/stylelint-config"]
}
  • CSS only
{
  "extends": ["@kuohuanhuan/stylelint-config/css"]
}
  • SCSS only
{
  "extends": ["@kuohuanhuan/stylelint-config/scss"]
}

It's recommended to run Stylelint with --max-warnings flag, because many rules has warning severity:

stylelint '**/*.(css|scss)' --max-warnings 0

License

Copyright (c) 2023 kuohuanhuan, licensed under MIT.

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago