diff options
| author | Anton Bobov <anton@bobov.name> | 2024-09-07 12:17:23 +0500 |
|---|---|---|
| committer | Anton Bobov <anton@bobov.name> | 2024-09-07 12:17:47 +0500 |
| commit | d4c8bd66562069deb35770134bb3a688d00e7c3a (patch) | |
| tree | b2e1c016783f40e19f902e362c5033395a063c92 | |
| parent | d24f5c91c1889a252b72d97583da6a0904c23f9e (diff) | |
Add pre-commit config
| -rw-r--r-- | .pre-commit-config.yaml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000..25cbaff --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,14 @@ +--- +repos: + - repo: https://github.com/pre-commit/pre-commit-hooks + rev: v3.2.0 + hooks: + - id: trailing-whitespace + - id: end-of-file-fixer + - id: check-yaml + - id: check-added-large-files + + - repo: https://github.com/scop/pre-commit-shfmt + rev: v3.8.0-1 + hooks: + - id: shfmt |
