2021-10-02 18:30:13 +00:00
|
|
|
---
|
|
|
|
# See https://pre-commit.com for more information
|
|
|
|
# See https://pre-commit.com/hooks.html for more hooks
|
|
|
|
repos:
|
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
2021-12-31 19:34:37 +00:00
|
|
|
rev: v4.1.0
|
2021-10-02 18:30:13 +00:00
|
|
|
hooks:
|
|
|
|
- id: trailing-whitespace
|
|
|
|
- id: end-of-file-fixer
|
|
|
|
- id: check-yaml
|
|
|
|
- id: check-added-large-files
|
|
|
|
exclude: |
|
|
|
|
(?x)^(
|
|
|
|
.*\.cjs
|
|
|
|
)$
|
|
|
|
- repo: https://github.com/pre-commit/mirrors-eslint
|
2021-12-31 19:34:37 +00:00
|
|
|
rev: v8.5.0
|
2021-10-02 18:30:13 +00:00
|
|
|
hooks:
|
|
|
|
- id: eslint
|
|
|
|
- repo: https://github.com/pre-commit/mirrors-prettier
|
2021-12-31 19:34:37 +00:00
|
|
|
rev: v2.5.1
|
2021-10-02 18:30:13 +00:00
|
|
|
hooks:
|
|
|
|
- id: prettier
|
2021-10-03 17:42:07 +00:00
|
|
|
additional_dependencies:
|
|
|
|
- prettier@2.4.1
|
|
|
|
- prettier-plugin-go-template@0.0.11
|
2021-12-31 19:34:37 +00:00
|
|
|
- repo: https://github.com/codespell-project/codespell
|
|
|
|
rev: v2.1.0
|
|
|
|
hooks:
|
|
|
|
- id: codespell
|
|
|
|
types: [markdown]
|