-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
36 lines (34 loc) · 988 Bytes
/
.pre-commit-config.yaml
File metadata and controls
36 lines (34 loc) · 988 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
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
hooks:
- id: check-merge-conflict
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
- id: check-added-large-files
args: ["--maxkb=1024"]
- repo: https://github.com/gitleaks/gitleaks
rev: v8.30.0
hooks:
- id: gitleaks
exclude: ^(spec/data/|docs/code_samples/|local_test/)
- repo: local
hooks:
- id: rubocop
name: RuboCop
entry: bundle exec rubocop --force-exclusion --no-server
language: system
pass_filenames: false
- id: steep
name: Steep
entry: bundle exec steep check
language: system
pass_filenames: false
stages: [pre-commit, pre-push]
- id: bundle-audit
name: Bundle Audit
entry: bundle exec bundle-audit check
language: system
pass_filenames: false
stages: [pre-commit, pre-push]