Skip to content

Commit 78f3701

Browse files
authored
Add pre-commit integration (#1)
1 parent 6e704e0 commit 78f3701

2 files changed

Lines changed: 28 additions & 0 deletions

File tree

.pre-commit-config.yaml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
---
2+
ci:
3+
# format compatible with commitlint
4+
autoupdate_commit_msg: "chore: pre-commit autoupdate"
5+
autoupdate_schedule: monthly
6+
autofix_commit_msg: |
7+
chore: auto fixes from pre-commit.com hooks
8+
9+
for more information, see https://pre-commit.ci
10+
repos:
11+
- repo: https://github.com/codespell-project/codespell
12+
rev: v2.1.0
13+
hooks:
14+
- id: codespell
15+
exclude: >
16+
(?x)^(
17+
package-lock.json
18+
)$
19+
- repo: https://github.com/pre-commit/mirrors-prettier
20+
# keep it before markdownlint
21+
rev: "v2.5.1"
22+
hooks:
23+
- id: prettier
24+
- repo: https://github.com/igorshubovych/markdownlint-cli
25+
rev: v0.30.0
26+
hooks:
27+
- id: markdownlint

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
# dot-config.github.io
2+
23
dot-config.github.io website

0 commit comments

Comments
 (0)