From b61d18b508e0a90bd1401ac713ea40d631ddcb5b 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 relates to #260 --- .pre-commit-config.yaml | 11 +++++++++++ 1 file changed, 11 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..2c5a6a5a0 --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,11 @@ +--- +exclude: ^docs/ruby/ # All generated code + +repos: + - repo: https://github.com/pre-commit/pre-commit-hooks + rev: v5.0.0 + hooks: + - id: check-symlinks + - id: end-of-file-fixer + - id: trailing-whitespace + args: [--markdown-linebreak-ext=md]