css-checker

1.0.1 • Public • Published

Usage

  • install huskylint-staged
  • set
      "husky": {
        "hooks": {
          "pre-commit": "lint-staged"
        }
      },
      "lint-staged": {
        "*.{}": [
          "css-checker"
        ]
      }
    

function flow

  • match all the paths of CSS
    1. to enhance:adapt to Sass、Less
  • read the css file
  • PostCss: transfer to AST
  • check the css
    1. to enhance: check the type
    2. to enhance: provide the setting of input

to improve

  • output with color, chalk

Tools

Readme

Keywords

none

Package Sidebar

Install

npm i css-checker

Weekly Downloads

0

Version

1.0.1

License

ISC

Unpacked Size

2.38 kB

Total Files

3

Last publish

Collaborators

  • haimeng.chm