summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhathach <[email protected]>2023-03-16 10:05:46 +0700
committerhathach <[email protected]>2023-03-16 10:05:46 +0700
commit1117cf5729d5896d960285e3d522064c63e2a2cc (patch)
treee125bd7e4f75498771f68435b6d1f705fce2a854
parentcd1726c009231189b6462d28ac772dd71d6fae6f (diff)
update pre-commit yaml
-rw-r--r--.pre-commit-config.yaml7
1 files changed, 7 insertions, 0 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 5a61f5282..865307896 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -3,6 +3,13 @@
# SPDX-License-Identifier: Unlicense
repos:
+- repo: https://github.com/pre-commit/pre-commit-hooks
+ rev: v4.0.1
+ hooks:
+ - id: check-yaml
+ - id: trailing-whitespace
+ - id: end-of-file-fixer
+
- repo: local
hooks:
- id: codespell