generated from shanilhirani/seed
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.pre-commit-config.yaml
37 lines (37 loc) · 970 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
36
37
---
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
hooks:
- id: trailing-whitespace
args:
- "--markdown-linebreak-ext=md"
- id: mixed-line-ending
args:
- "--fix=auto"
- id: check-case-conflict
- id: check-merge-conflict
- id: check-json
exclude: ^.vscode/
- id: check-yaml
- id: check-added-large-files
- id: detect-private-key
- id: no-commit-to-branch
- repo: "https://github.com/pre-commit/mirrors-prettier"
rev: v3.0.0
hooks:
- id: prettier
stages: [commit]
- repo: https://github.com/commitizen-tools/commitizen
rev: v3.5.3
hooks:
- id: commitizen
- id: commitizen-branch
stages: [push]
- repo: local
hooks:
- id: make-all
name: make-all
description: this will run `make all`
entry: .pre-commit-scripts/make_all.sh
language: script