Skip to content

Special stylelint rules for QMUI team project css.

Notifications You must be signed in to change notification settings

QMUI/stylelint-qmui-css

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

stylelint-qmui-css

[This plugin is still developing... ]Special stylelint rules for QMUI team 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.

About

Special stylelint rules for QMUI team project css.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published