Skip to content

Commit 38639c8

Browse files
initial pre-commit config
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
1 parent 0fb90ac commit 38639c8

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.pre-commit-config.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
exclude: ^docs/ruby/
3+
repos:
4+
- repo: https://github.com/pre-commit/pre-commit-hooks
5+
rev: v5.0.0
6+
hooks:
7+
- id: check-symlinks
8+
- id: check-json
9+
- id: check-yaml
10+
- id: end-of-file-fixer
11+
- id: trailing-whitespace
12+
args: [--markdown-linebreak-ext=md]
13+
14+
- repo: https://github.com/rbubley/mirrors-prettier
15+
rev: v3.3.3
16+
hooks:
17+
- id: prettier

0 commit comments

Comments
 (0)