https://github.com/qmui/stylelint-qmui-css
Special stylelint rules for QMUI team project css.
https://github.com/qmui/stylelint-qmui-css
css sass-lint stylelint stylelint-plugin
Last synced: 6 months ago
JSON representation
Special stylelint rules for QMUI team project css.
- Host: GitHub
- URL: https://github.com/qmui/stylelint-qmui-css
- Owner: QMUI
- Created: 2017-06-17T09:56:49.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-09-12T10:46:14.000Z (over 8 years ago)
- Last Synced: 2024-04-25T12:20:20.884Z (about 2 years ago)
- Topics: css, sass-lint, stylelint, stylelint-plugin
- Language: JavaScript
- Homepage:
- Size: 17.6 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# stylelint-qmui-css
> [This plugin is still developing... ]Special stylelint rules for [QMUI team](https://github.com/QMUI/) project css.
## Usege
```
npm i stylelint-qmui-css -D
```
## Rules
- `comments-in-header`: 文件头必须有注释,包含`@author`或`@data`等必要信息
- `unused-mixins`: mixins 黑名单
- `nested-qui-selector`: 不建议在嵌套中使用`qui_xxx` 的类
- `stylelint-disable-reason`: 某些代码需要禁止检测的话需要在后面加上注释
- `selector-namespace-follow-filename`: 业务CSS 的命名空间需要跟随文件名
## Thanks
Inspired from [stylelint-suitcss](https://github.com/suitcss/stylelint-suitcss).