Have ideas to improve npm?Join in the discussion! »

    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

    Keywords

    none

    Install

    npm i css-checker

    DownloadsWeekly Downloads

    1

    Version

    1.0.1

    License

    ISC

    Unpacked Size

    2.38 kB

    Total Files

    3

    Last publish

    Collaborators

    • avatar