Code Review
/
releng
/
builder.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Remove committer permissions from emerritus
[releng/builder.git]
/
.pre-commit-config.yaml
diff --git
a/.pre-commit-config.yaml
b/.pre-commit-config.yaml
index 13f206b2d62c1c744cea4b17acb6217eb631a171..b74e924efaada461e00c98770b343149e2006206 100644
(file)
--- a/
.pre-commit-config.yaml
+++ b/
.pre-commit-config.yaml
@@
-1,4
+1,7
@@
---
---
+default_language_version:
+ python: python3
+ node: "14.13.0"
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.5.0
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.5.0
@@
-6,20
+9,25
@@
repos:
- id: check-json
- id: trailing-whitespace
- id: check-json
- id: trailing-whitespace
+ - repo: https://github.com/prettier/pre-commit
+ rev: v2.1.2
+ hooks:
+ - id: prettier
+
- repo: https://github.com/jorisroovers/gitlint
rev: v0.13.1
hooks:
- id: gitlint
- repo: https://github.com/jumanjihouse/pre-commit-hooks
- repo: https://github.com/jorisroovers/gitlint
rev: v0.13.1
hooks:
- id: gitlint
- repo: https://github.com/jumanjihouse/pre-commit-hooks
-
sha
: 2.0.2
+
rev
: 2.0.2
hooks:
- id: shellcheck
exclude: >
hooks:
- id: shellcheck
exclude: >
-
(?x)^(
-
jjb/global-jjb/.*|
-
jenkins-config/.*
-
)$
+ (?x)^(
+ jjb/global-jjb/.*|
+ jenkins-config/.*
+ )$
- repo: https://github.com/ambv/black
rev: stable
- repo: https://github.com/ambv/black
rev: stable
@@
-49,14
+57,8
@@
repos:
hooks:
- id: yamllint
hooks:
- id: yamllint
- - repo: local
+ - repo: https://github.com/btford/write-good
+ rev: master
hooks:
hooks:
- # TODO: Switch to upstream hook when https://github.com/btford/write-good/pull/119 is merged.
- id: write-good
- id: write-good
- name: write-good
- description: Check docs for English prose with write-good
- entry: write-good
- language: node
- files: "\\.(rst|md|markdown|mdown|mkdn)$"
- additional_dependencies: ["write-good"]
exclude: docs/jenkins.rst
exclude: docs/jenkins.rst