-
Notifications
You must be signed in to change notification settings - Fork 72
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
40 lines (38 loc) · 1.03 KB
/
.pre-commit-config.yaml
File metadata and controls
40 lines (38 loc) · 1.03 KB
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: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
hooks:
- id: check-added-large-files
args: ['--maxkb=1024']
- id: check-merge-conflict
- id: check-vcs-permalinks
- id: forbid-new-submodules
- id: end-of-file-fixer
- id: trailing-whitespace
args: [--markdown-linebreak-ext=md]
exclude: CHANGELOG.md
- id: check-yaml
args: [--allow-multiple-documents]
- id: check-executables-have-shebangs
- id: check-symlinks
- id: destroyed-symlinks
# Cross platform
- id: check-case-conflict
- id: mixed-line-ending
args: [--fix=lf]
# Security
- id: detect-aws-credentials
args: ['--allow-missing-credentials']
- id: detect-private-key
- repo: local
hooks:
- id: license-check
name: format license headers using maven
always_run: true
language: script
entry: /bin/sh -c "mvn validate license:format"
pass_filenames: false
- repo: https://github.com/crate-ci/typos
rev: v1.35.8
hooks:
- id: typos