-
Notifications
You must be signed in to change notification settings - Fork 1
/
.pre-commit-config.yaml
38 lines (38 loc) · 1.16 KB
/
.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
36
37
38
repos:
# https://docs.franco.net.eu.org/md-toc/pre_commit_hook.html
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: 'v4.4.0'
hooks:
- id: check-added-large-files
args: ['--maxkb=16384']
- id: check-case-conflict
- id: check-shebang-scripts-are-executable
- id: check-merge-conflict
args: ['--assume-in-merge']
- id: check-symlinks
- id: check-yaml
- id: destroyed-symlinks
- id: detect-private-key
# - id: no-commit-to-branch
- repo: https://github.com/editorconfig-checker/editorconfig-checker.python
rev: '2.7.2'
hooks:
- id: editorconfig-checker
alias: ec
args: [-disable-insert-final-newline]
# exclude: '^ripi/(.*)$'
- repo: https://github.com/doublify/pre-commit-rust
rev: 'v1.0'
hooks:
- id: fmt
- id: clippy
- repo: https://github.com/Lucas-C/pre-commit-hooks-nodejs
rev: 'v1.1.2'
hooks:
# https://github.com/jonschlinkert/markdown-toc
- id: markdown-toc
args: [--maxdepth, '4', --bullets, '-', -i]
- repo: https://github.com/sirwart/ripsecrets
rev: 'v0.1.7'
hooks:
- id: ripsecrets