- Switch write-good to upstream hook. Upstream PR [1.] is merged
fixes issues with the write-good npm dependencies.
[1.] https://github.com/btford/write-good/pull/126
- Swith prettier to the recent version v2.1.2
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
Change-Id: I286776e837c5147a3fef9c98ce38b5750106a645
hooks:
- id: gitlint
- - repo: https://github.com/prettier/prettier
- rev: 2.0.5
+ - repo: https://github.com/prettier/pre-commit
+ rev: v2.1.2
hooks:
- id: prettier
hooks:
- id: yamllint
- - repo: local
+ - repo: https://github.com/btford/write-good
+ rev: v1.0.4
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"]