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
|
|
|
|
rev: v4.0.1
|
|
|
|
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
|
|
|
|
rev: v7.32.0
|
|
|
|
hooks:
|
|
|
|
- id: eslint
|
|
|
|
- repo: https://github.com/pre-commit/mirrors-prettier
|
|
|
|
rev: v2.4.1
|
|
|
|
hooks:
|
|
|
|
- id: prettier
|
2021-10-03 17:42:07 +00:00
|
|
|
additional_dependencies:
|
|
|
|
- prettier@2.4.1
|
|
|
|
- prettier-plugin-go-template@0.0.11
|