-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy path.pre-commit-config.yaml
42 lines (42 loc) · 1.11 KB
/
.pre-commit-config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
exclude: |
(?x)
# Files not generated by humans
.*(\.freezer\.toml|\.lock|lock\.json)$|
# Files that fail if changed manually
.*\.(diff|patch)$
repos:
- repo: https://gitlab.com/moduon/precommix
rev: "v0.21.0-2-g4ecd81a"
hooks:
# Commit messages
- id: commitizen
# Multi-lang
- id: no-copier-garbage
- id: prettier
exclude: layouts/.*|go.*
- id: taplo
- id: restructuredtext-lint
- id: check-added-large-files
- id: check-case-conflict
- id: check-executables-have-shebangs
- id: check-shebang-scripts-are-executable
- id: check-merge-conflict
- id: check-symlinks
- id: check-toml
- id: check-vcs-permalinks
- id: destroyed-symlinks
- id: detect-private-key
- id: end-of-file-fixer
- id: fix-byte-order-marker
- id: forbid-new-submodules
- id: mixed-line-ending
- id: trailing-whitespace
# ECMAScript
- id: eslint
# Nix
- id: alejandra
# PO translations
- id: obsolete-messages
- id: fuzzy-messages
# Misc
- id: nothing-added