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 #260
  • Loading branch information
kbroch-rivosinc committed Nov 14, 2024
1 parent 0fb90ac commit 38639c8
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
exclude: ^docs/ruby/
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: check-symlinks
- id: check-json
- 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 38639c8

Please sign in to comment.