We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ecf06dc commit 08879cdCopy full SHA for 08879cd
1 file changed
.pre-commit-config.yaml
@@ -0,0 +1,25 @@
1
+# Keep it minimal and docs-friendly. Works on Linux/Windows.
2
+minimum_pre_commit_version: "3.5.0"
3
+repos:
4
+ - repo: https://github.com/pre-commit/pre-commit-hooks
5
+ rev: v4.6.0
6
+ hooks:
7
+ - id: trailing-whitespace
8
+ - id: end-of-file-fixer
9
+ - id: mixed-line-ending
10
+ args: [--fix=lf]
11
+ - id: check-yaml
12
+ - id: check-json
13
+ - id: check-merge-conflict
14
+ - id: check-added-large-files
15
+ - id: detect-private-key
16
+
17
+ # Markdown formatting/linting that plays nicely with GitHub
18
+ - repo: https://github.com/executablebooks/mdformat
19
+ rev: 0.7.17
20
21
+ - id: mdformat
22
+ additional_dependencies:
23
+ - mdformat-gfm==0.3.5 # tables/task-lists
24
+ - mdformat-frontmatter==2.0.6
25
+ files: \.md$
0 commit comments