alejandr0angul0.dev/.pre-commit-config.yaml

27 lines
704 B
YAML
Raw Normal View History

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
additional_dependencies:
- prettier@2.4.1
- prettier-plugin-go-template@0.0.11