https://github.com/funbox/stylelint-rules
A collection of SCSS rules missing in stylelint-scss
https://github.com/funbox/stylelint-rules
scss stylelint stylelint-plugin
Last synced: 12 months ago
JSON representation
A collection of SCSS rules missing in stylelint-scss
- Host: GitHub
- URL: https://github.com/funbox/stylelint-rules
- Owner: funbox
- License: mit
- Created: 2020-10-23T15:23:37.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-07-19T00:06:40.000Z (almost 3 years ago)
- Last Synced: 2025-06-29T01:26:39.218Z (12 months ago)
- Topics: scss, stylelint, stylelint-plugin
- Language: JavaScript
- Homepage:
- Size: 1.26 MB
- Stars: 6
- Watchers: 11
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# @funboxteam/stylelint-rules
[](https://www.npmjs.com/package/@funboxteam/stylelint-rules)
[Stylelint](https://stylelint.io/) plugin with custom rules.
[По-русски](./README.ru.md)
## Installation
```
npm install --save-dev @funboxteam/stylelint-rules
```
Obviously Stylelint should be installed too.
## Rules
- [declarations-before-nesting](./docs/rules/declarations-before-nesting.md) — forces block rules be placed above the nested blocks.
- [no-transition-all](./docs/rules/no-transition-all.md) — prevents use `all` value for `transition` & `transition-property` props.
- [rgba-hex-color-only](./docs/rules/rgba-hex-color-only.md) — prevents use `rgba` function with non-hex color as a first argument.
- [selector-max-type](./docs/rules/selector-max-type.md) — limit the number of type selectors in a selector (compatible with [@funboxteam/scss-vars-loader](https://github.com/funbox/scss-vars-loader)).
[](https://funbox.ru)