From 8be77e2904a0d5c57063ab943a16bc9c838c6bcd Mon Sep 17 00:00:00 2001 From: Kevin Broch Date: Wed, 13 Nov 2024 14:08:43 -0800 Subject: [PATCH] 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 --- .pre-commit-config.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .pre-commit-config.yaml diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 000000000..270290ef4 --- /dev/null +++ b/.pre-commit-config.yaml @@ -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