Skip to content

Commit

Permalink
ci: lint markdown, yaml, html, js, css
Browse files Browse the repository at this point in the history
  • Loading branch information
njzjz authored Mar 22, 2024
1 parent 7a3c858 commit a232c6f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,11 @@ repos:
- id: ruff
args: ["--fix"]
- id: ruff-format
# markdown, yaml
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v4.0.0-alpha.8
hooks:
- id: prettier
types_or: [markdown, yaml, html, javascript, css]
# workflow files cannot be modified by pre-commit.ci
exclude: ^(\.github/workflows)

0 comments on commit a232c6f

Please sign in to comment.