forked from aristanetworks/avd-workshops
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.pre-commit-config.yaml
40 lines (37 loc) · 1.15 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
# 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.5.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
exclude_types: [svg, json]
- id: requirements-txt-fixer
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.37.0
hooks:
- id: markdownlint
name: Check for Linting errors on MarkDown files
exclude: .github/styles
args:
- --config=.github/.markdownlint.yaml
- --fix
- repo: https://github.com/tcort/markdown-link-check
rev: v3.11.2
hooks:
- id: markdown-link-check
name: Markdown Link Check
description: Extracts links from markdown texts and checks they're all alive (i.e. return status 200 OK).
entry: markdown-link-check
language: node
types: [markdown]
stages: [commit, push, manual]
args:
- --quiet
- --config=config.json
- repo: https://github.com/errata-ai/vale
rev: v2.29.6
hooks:
- id: vale
files: workshops/