1.0.1 • Published 4 years ago

css-checker v1.0.1

Weekly downloads
-
License
ISC
Repository
-
Last release
4 years ago

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

Tools

1.0.1

4 years ago

1.0.0

4 years ago

0.0.1

7 years ago