Repository navigation
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
51 lines (51 loc) · 1.84 KB
/
Copy path.pre-commit-config.yaml
File metadata and controls
51 lines (51 loc) · 1.84 KB
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
43
44
45
46
47
48
49
50
51
exclude: ^test/resources/
repos:
- repo: local
hooks:
# Prevent committing .rej files
- id: forbidden-files
name: forbidden files
entry: found Copier update rejection files; review them and remove them
language: fail
files: "\\.rej$"
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: 3e8a8703264a2f4a69428a0aa4dcb512790b2c8c # frozen: v6.0.0
hooks:
- id: check-json
- id: check-toml
- id: check-yaml
- id: end-of-file-fixer
- id: file-contents-sorter
files: .JuliaFormatter.toml
args: [--unique]
- id: mixed-line-ending
args: [--fix=lf]
- id: no-commit-to-branch
- id: pretty-format-json
args: [--autofix, --indent=4]
- id: trailing-whitespace
- id: check-merge-conflict
args: [--assume-in-merge]
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: cbcdc463be5464e25e3e955a511599a67b9b987f # frozen: v0.50.0
hooks:
- id: markdownlint-fix
- repo: https://github.com/citation-file-format/cffconvert
rev: 054bda51dbe278b3e86f27c890e3f3ac877d616c
hooks:
- id: validate-cff
- repo: https://github.com/pre-commit/mirrors-prettier
rev: "f12edd9c7be1c20cfa42420fd0e6df71e42b51ea" # frozen: v4.0.0-alpha.8
hooks:
- id: prettier
types_or: [yaml, json]
exclude: ".copier-answers.yml"
- repo: https://github.com/adrienverge/yamllint
rev: cba56bcde1fdd01c1deb3f945e69764c291a6530 # frozen: v1.38.0
hooks:
- id: yamllint
- repo: https://github.com/fredrikekre/runic-pre-commit
rev: 2792c2717d22e0de68ad1d0b3f2bddb7a649403f
hooks:
- id: runic
- id: runic-md