-
Notifications
You must be signed in to change notification settings - Fork 106
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
45 lines (43 loc) · 1.17 KB
/
.pre-commit-config.yaml
File metadata and controls
45 lines (43 loc) · 1.17 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
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.2.0
hooks:
- id: check-added-large-files
- id: check-merge-conflict
- id: check-symlinks
- id: destroyed-symlinks
- id: check-vcs-permalinks
- id: forbid-new-submodules
- id: end-of-file-fixer
- id: trailing-whitespace
args: [ --markdown-linebreak-ext=md ]
- id: check-yaml
- id: check-merge-conflict
- id: check-executables-have-shebangs
# Cross platform
- id: check-case-conflict
- id: mixed-line-ending
args: [ --fix=lf ]
# Security
- id: detect-aws-credentials
args: [ '--allow-missing-credentials' ]
- id: detect-private-key
- repo: https://github.com/crate-ci/typos
rev: v1.32.0
hooks:
- id: typos
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.45.0
hooks:
- id: markdownlint
args: [ '--fix' ]
- repo: https://github.com/errata-ai/vale
rev: v3.11.2
hooks:
- id: vale
name: vale sync
pass_filenames: false
args: [sync]
- id: vale
args: [--output=line]
files: '.*\.md'