-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
40 lines (35 loc) · 1006 Bytes
/
.pre-commit-config.yaml
File metadata and controls
40 lines (35 loc) · 1006 Bytes
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
repos:
- repo: meta
hooks:
- id: check-hooks-apply
- id: check-useless-excludes
- repo: https://github.com/shellcheck-py/shellcheck-py
rev: v0.10.0.1
hooks:
- id: shellcheck
args: [-x]
- repo: local
hooks:
- id: local_hooks
name: All hooks are ran
language: ruby
entry: ./check_up_to_date.rb
pass_filenames: false
files: ^.pre-commit-(config|hooks)\.yaml$
- id: ltex
name: LTeX grammar check
language: script
entry: ltex/ltex.sh
verbose: true
types_or: ['markdown', 'mdx']
args: [--client-configuration, ltex-config.json]
- id: actionlint
name: Lint Github workflows
language: docker_image
entry: rhysd/actionlint:1.7.12
files: ^\.github/workflows/.*\.(yml|yaml)$
- id: hadolint
name: Lint Dockerfiles
language: docker_image
entry: hadolint/hadolint hadolint
files: Dockerfile