Skip to content

Send and receive SMS messages using your Android phone programmatically via a simple HTTP API

Add pre-commit hook

Acho Arnold611320537fd0
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
new file mode 100644
index 00000000..cdc540ae
--- /dev/null
+++ b/.pre-commit-config.yaml
@@ -0,0 +1,14 @@
+repos:
+- repo: https://github.com/tekwizely/pre-commit-golang
+ rev: master
+ hooks:
+ - id: go-fumpt
+ - id: go-mod-tidy
+ - id: go-lint
+ - id: go-imports
+- repo: https://github.com/pre-commit/pre-commit-hooks
+ rev: v2.3.0
+ hooks:
+ - id: check-yaml
+ - id: end-of-file-fixer
+ - id: trailing-whitespace