-
Notifications
You must be signed in to change notification settings - Fork 3
/
.pre-commit-hooks.yaml
55 lines (48 loc) · 1.42 KB
/
.pre-commit-hooks.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
43
44
45
46
47
48
49
50
51
52
53
54
55
- id: circleci-validate
name: Validate CircleCI config yaml
description: Validate CircleCI config yaml
entry: pre-commit-circleci-validate
language: script
files: '[.]circleci/config.yml$'
pass_filenames: false
- id: gen-docs
name: Generate a Docs Index
description: Generate a Docs Index
entry: npx adr
language: node
args: ["docs/adr"]
types: ["file", "markdown"]
pass_filenames: false
- id: goreleaser-check
name: Validate goreleaser config yaml
description: Validate goreleaser config yaml
entry: goreleaser check
language: system
files: '.goreleaser.yml'
pass_filenames: false
- id: markdown-toc
name: Generate a Table of Contents in Markdown files
description: Generate a Table of Contents in Markdown files
entry: markdowntoc
language: node
types: ["file", "markdown"]
additional_dependencies: ["markdown-toc"]
- id: mdspell
name: Run spellcheck
description: Run spellcheck
entry: mdspell
language: node
args: ["--ignore-numbers", "--ignore-acronyms", "--en-us", "-r"]
additional_dependencies: ["markdown-spellcheck"]
types: ["file", "markdown"]
- id: spelling-sort
name: Sort spelling doc
description: Sort mdspell spelling file
entry: /usr/bin/sort -u -o .spelling .spelling
language: script
pass_filenames: false
- id: hadolint
name: Run hadolint Dockerfile linter
description: Run hadolint Dockerfile linter
entry: pre-commit-hadolint
language: script