Skip to content

Commit 9b26999

Browse files
committed
added pre-commit
1 parent c7c4fe9 commit 9b26999

File tree

2 files changed

+32
-1
lines changed

2 files changed

+32
-1
lines changed

.pre-commit-config.yaml

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
---
2+
repos:
3+
- repo: https://github.com/pre-commit/pre-commit-hooks
4+
rev: v5.0.0
5+
hooks:
6+
- id: check-added-large-files
7+
- id: check-merge-conflict
8+
- id: check-symlinks
9+
- id: check-yaml
10+
- id: debug-statements
11+
- id: destroyed-symlinks
12+
- id: detect-private-key
13+
- id: end-of-file-fixer
14+
- id: trailing-whitespace
15+
- repo: https://github.com/codespell-project/codespell
16+
rev: v2.2.6
17+
hooks:
18+
- id: codespell
19+
args: [-w]
20+
- repo: https://github.com/shellcheck-py/shellcheck-py
21+
rev: v0.10.0.1
22+
hooks:
23+
- id: shellcheck
24+
- repo: https://github.com/openstack/bashate
25+
rev: "2.1.1"
26+
hooks:
27+
- id: bashate
28+
- repo: https://github.com/jorisroovers/gitlint
29+
rev: v0.19.1
30+
hooks:
31+
- id: gitlint

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ cd ~/.dotfiles
1212

1313
```
1414

15-
Remeber to update the zsh plugin manager by running command: `antidote update`
15+
Remember to update the zsh plugin manager by running command: `antidote update`

0 commit comments

Comments
 (0)