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.
(full launch would entail, running pre-commit on all files and  github action to enforce pre-commit)

If you want to see full effect on files run: `pre-commit run --all-files` I looked the results of this over and changes seem fine.

There's a lot of formatting changes to the html. (but some of the html looks minified so to be expected)
I'd suggest maintainers look over what the changes would be for all the files and the generate final docs.

fixes riscv-software-src#260
  • Loading branch information
kbroch-rivosinc committed Nov 13, 2024
1 parent cd37f0b commit 8be77e2
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
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

0 comments on commit 8be77e2

Please sign in to comment.