We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 501b1ab commit 859038eCopy full SHA for 859038e
.editorconfig
@@ -9,7 +9,7 @@ charset = utf-8
9
trim_trailing_whitespace = true
10
insert_final_newline = true
11
12
-[*.md]
+[*.{md,rst}]
13
trim_trailing_whitespace = false
14
15
[.git*]
.gitattributes
@@ -1,5 +1,9 @@
1
*.sh text eol=lf
2
*.bash text eol=lf
3
4
+# Docs allow trailing whitespaces
5
+*.md whitespace=-blank-at-eol
6
+*.rst whitespace=-blank-at-eol
7
+
8
# Windows files
*.bat text eol=crlf
.pre-commit-config.yaml
@@ -9,6 +9,7 @@ repos:
rev: v2.3.0
hooks:
- id: trailing-whitespace
+ exclude: ".(md|rst)$"
- id: end-of-file-fixer
- id: check-merge-conflict
- id: mixed-line-ending
0 commit comments