@nice-move/stylelint-config
v0.10.8
Published
A `stylelint` config created by personal preferences
Downloads
357
Maintainers
Readme
@nice-move/stylelint-config
A stylelint config created by personal preferences.
Supports
- Stylesheet in *.{vue,html,htm,svg,md}
- SCSS syntax / Less syntax
- CSS Modules exceptions - :global / :local in *.module.{css,scss,less}, *.vue
- Interoperable CSS (ICSS) - :export in *.module.{css,scss,less}, *.vue
- Tailwind CSS at rules when
tailwindcss
installed - Mini Program Stylesheet limitation when needed
Installation
npm install stylelint @nice-move/stylelint-config --save-dev
Usage
Add to package.json
// example: package.json
{
"stylelint": {
"extends": "@nice-move/stylelint-config"
}
}
Then run
stylelint --fix "**/*.{css,less,scss,vue,html,htm,md}"