mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 10:18:54 +00:00
32 lines
954 B
YAML
32 lines
954 B
YAML
repos:
|
|
- repo: local
|
|
hooks:
|
|
- id: codespell
|
|
name: "python: codespell"
|
|
entry: codespell
|
|
language: system
|
|
pass_filenames: false
|
|
|
|
# Standard pre-commit hooks
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v2.3.0
|
|
hooks:
|
|
- id: mixed-line-ending
|
|
args: ["--fix=lf"]
|
|
description: Forces to replace line ending by the UNIX 'lf' character.
|
|
exclude: ^website/public/images/
|
|
- id: check-yaml
|
|
exclude: ^.github/workflows/
|
|
- id: check-merge-conflict
|
|
- id: end-of-file-fixer
|
|
exclude: ^website/public/images/
|
|
- id: trailing-whitespace
|
|
exclude: ^website/public/images/
|
|
- id: check-merge-conflict
|
|
- id: no-commit-to-branch
|
|
args:
|
|
- -b
|
|
- master
|
|
- --pattern
|
|
- '^(?!((chore|feat|feature|bug|fix|build|ci|docs|style|refactor|perf|test|revert)\/[@a-zA-Z0-9\-\.\/]+)$).*'
|