css-checker
v1.0.1
Published
* install [husky](https://www.npmjs.com/package/husky),[lint-staged](https://www.npmjs.com/package/lint-staged) * set ``` "husky": { "hooks": { "pre-commit": "lint-staged" } }, "lint-staged": { "*.{}": [ "cs
Downloads
6
Readme
Usage
- install husky,lint-staged
- set
"husky": { "hooks": { "pre-commit": "lint-staged" } }, "lint-staged": { "*.{}": [ "css-checker" ] }
function flow
- match all the paths of CSS
- to enhance:adapt to Sass、Less
- read the css file
- PostCss: transfer to AST
- check the css
- to enhance: check the type
- to enhance: provide the setting of input
to improve
- output with color, chalk