Skip to content

pre-commit/mirrors-csslint

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

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

About

Mirror of csslint package for pre-commit.

Resources

License

Security policy

Stars

Watchers

Forks

Packages

No packages published