Skip to content

Commit

Permalink
initial pre-commit config
Browse files Browse the repository at this point in the history
soft launch meaning only people with pre-commit tool installed would
see this run.  If you want to see full effect on files run:
`pre-commit run --all-files`

fixes riscv-software-src#260
  • Loading branch information
kbroch-rivosinc committed Nov 13, 2024
1 parent cd37f0b commit 2eea098
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: check-symlinks
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
args: [--markdown-linebreak-ext=md]

- repo: https://github.com/rbubley/mirrors-prettier
rev: v3.3.3
hooks:
- id: prettier

- repo: https://github.com/rhysd/actionlint
rev: v1.7.4
hooks:
- id: actionlint

0 comments on commit 2eea098

Please sign in to comment.