Skip to content

Commit

Permalink
ci: add lint for markdown, json, yaml, CSS, javascript
Browse files Browse the repository at this point in the history
Signed-off-by: Jinzhe Zeng <jinzhe.zeng@rutgers.edu>
  • Loading branch information
njzjz authored Mar 20, 2024
1 parent 5aa1b89 commit c5214db
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,12 @@ repos:
hooks:
- id: clang-format
exclude: ^source/3rdparty|source/lib/src/gpu/cudart/.+\.inc
# CSS
- repo: https://github.com/pre-commit/mirrors-csslint
rev: v1.0.5
# markdown, json, yaml, CSS, javascript
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v4.0.0-alpha.8
hooks:
- id: csslint
- id: prettier
types_or: [markdown, json, yaml, css, javascript]
# Shell
- repo: https://github.com/scop/pre-commit-shfmt
rev: v3.8.0-1
Expand Down

0 comments on commit c5214db

Please sign in to comment.