-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
43 lines (38 loc) · 957 Bytes
/
.pre-commit-config.yaml
File metadata and controls
43 lines (38 loc) · 957 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
41
42
43
repos:
- repo: https://github.com/Goldziher/ai-rulez
rev: v4.1.0
hooks:
- id: ai-rulez-generate
# General file checks
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-merge-conflict
- id: detect-private-key
- id: check-added-large-files
# Ruby formatting and linting
- repo: https://github.com/rubocop/rubocop
rev: v1.86.1
hooks:
- id: rubocop
args: [--autocorrect]
# Typos
- repo: https://github.com/crate-ci/typos
rev: v1.45.2
hooks:
- id: typos
# Shell
- repo: https://github.com/scop/pre-commit-shfmt
rev: v3.13.1-1
hooks:
- id: shfmt
# Commit message linting
- repo: https://github.com/Goldziher/gitfluff
rev: v0.8.0
hooks:
- id: gitfluff-lint
args: ["--write"]
stages: [commit-msg]