https://github.com/hudochenkov/stylelint-config-hudochenkov
https://github.com/hudochenkov/stylelint-config-hudochenkov
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/hudochenkov/stylelint-config-hudochenkov
- Owner: hudochenkov
- License: mit
- Created: 2017-02-26T10:02:35.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2025-04-23T21:52:46.000Z (about 1 year ago)
- Last Synced: 2025-10-10T01:34:22.570Z (8 months ago)
- Language: JavaScript
- Size: 1.43 MB
- Stars: 56
- Watchers: 2
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# stylelint-config-hudochenkov
My configs for [Stylelint]. Uses rules from [`stylelint-order`].
Available configs:
* `stylelint-config-hudochenkov` — default config which includes rules from Stylelint core only.
* `stylelint-config-hudochenkov/order` — config for order of content within declaration blocks and properties order. Uses [`stylelint-order`].
* `stylelint-config-hudochenkov/full` — combines all configs above.
## Installation
Install config:
```
npm install --save-dev stylelint-config-hudochenkov
```
## Usage
Add chosen config to the [`extends` section](https://stylelint.io/user-guide/configure#extends) of your Stylelint configuration:
```
{
"extends": ["stylelint-config-hudochenkov"]
}
```
```
{
"extends": ["stylelint-config-hudochenkov/full"]
}
```
Recommended to run Stylelint with [`--max-warnings` flag](https://stylelint.io/user-guide/usage/options#maxwarnings), because many rules has [`warning` severity](https://stylelint.io/user-guide/configure#severity):
```
stylelint "**/*.css" --max-warnings 0
```
[Stylelint]: https://stylelint.io/
[`stylelint-order`]: https://github.com/hudochenkov/stylelint-order