Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 711 Bytes

README.md

File metadata and controls

23 lines (15 loc) · 711 Bytes

csslint mirror

Mirror of csslint package for pre-commit.

For pre-commit: see https://github.com/pre-commit/pre-commit

For csslint: see https://github.com/CSSLint/csslint

Using csslint with pre-commit

Add this to your .pre-commit-config.yaml:

-   repo: https://github.com/pre-commit/mirrors-csslint
    rev: ''  # Use the sha / tag you want to point at
    hooks:
    -   id: csslint

Note that csslint does not exit with a non-zero return code unless the issue is an error. A lot of common mistakes are considered warnings. We suggest you add a .csslintrc file to your project. See https://github.com/CSSLint/csslint/wiki/Command-line-interface#configuration-files