forked from suchipi/link-fixer-discord-bot
-
Notifications
You must be signed in to change notification settings - Fork 4
/
.pre-commit-config.yaml
35 lines (31 loc) · 914 Bytes
/
.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
repos:
- repo: https://github.com/pre-commit/mirrors-eslint
rev: v8.56.0
hooks:
- id: eslint
files: \.[jt]s$
additional_dependencies:
- "eslint@8.56.0"
- "@typescript-eslint/eslint-plugin@6.15.0"
- "@typescript-eslint/parser@6.15.0"
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v3.1.0
hooks:
- id: prettier
exclude: \.(json|md|mts|sql)$
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
hooks:
- id: check-yaml
- id: check-merge-conflict
- repo: https://github.com/hadolint/hadolint
rev: v2.12.0
hooks:
- id: hadolint-docker
name: lint dockerfile
- repo: https://github.com/iamthefij/docker-pre-commit
rev: v3.0.1
hooks:
- id: docker-compose-check
name: lint docker-compose
files: (docker-)?compose(\..*)?\.ya?ml$