X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=.pre-commit-config.yaml;h=f08ce2534cef9e31611b75b8ea53ac2f1f0d7488;hb=18cbfd14f4bda85b84c059373a9bd24e56954395;hp=7ff009625209fc5c8fd6108bdf87910f7020f754;hpb=6e71ef7225f8ae486a0655cdef63d74eb03fd9c7;p=releng%2Fbuilder.git diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 7ff009625..f08ce2534 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -28,3 +28,15 @@ repos: rev: v1.23.0 hooks: - id: yamllint + + - repo: local + hooks: + # TODO: Switch to upstream hook when https://github.com/btford/write-good/pull/119 is merged. + - 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