summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSignal Linden <signal@lindenlab.com>2022-01-06 16:25:39 -0800
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2022-03-08 19:25:02 +0000
commit124a719be940e8d5482e1e730f45db0ce3d814a6 (patch)
treef8d24af0ff54b86d30b2f9b73e1fd0da8e697f44
parent6ca09a94554ec01f5c94ec60fffd01d7e33f3546 (diff)
SL-15741: Add pre-commit configuration
-rw-r--r--.pre-commit-config.yaml17
1 files changed, 17 insertions, 0 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
new file mode 100644
index 0000000000..6d296d7a24
--- /dev/null
+++ b/.pre-commit-config.yaml
@@ -0,0 +1,17 @@
+repos:
+ - repo: https://bitbucket.org/lindenlab/git-hooks.git
+ rev: v1.0.0-beta2
+ hooks:
+ - id: opensource-license
+ - id: jira-issue
+ - id: llsd
+ - id: no-trigraphs
+ - id: copyright
+ - id: end-of-file
+ files: \.(cpp|c|h|py|glsl|cmake|txt)$
+ exclude: language.txt
+ - repo: https://github.com/pre-commit/pre-commit-hooks
+ rev: v2.5.0
+ hooks:
+ - id: check-xml
+ - id: mixed-line-ending