Code Review
/
releng
/
global-jjb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Use prettier for automatic formatting for YAML
[releng/global-jjb.git]
/
.pre-commit-config.yaml
diff --git a/.pre-commit-config.yaml
b/.pre-commit-config.yaml
new file mode 100644
(file)
index 0000000..
a496135
--- /dev/null
+++ b/
.pre-commit-config.yaml
@@ -0,0
+1,11
@@
+---
+repos:
+ - repo: https://github.com/pre-commit/pre-commit-hooks
+ rev: v2.2.1
+ hooks:
+ - id: trailing-whitespace
+
+ - repo: https://github.com/prettier/prettier
+ rev: 1.18.2
+ hooks:
+ - id: prettier