-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Allow checking Markdown document for other properties
Signed-off-by: 林博仁(Buo-ren Lin) <[email protected]>
- Loading branch information
Showing
2 changed files
with
21 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
# This file is based on The Common EditorConfig Template project | ||
# https://github.com/Lin-Buo-Ren/the-common-editorconfig-template | ||
# | ||
# Copyright 2020 林博仁(Buo-ren, Lin) <[email protected]> | ||
# Copyright 2021 林博仁(Buo-ren, Lin) <[email protected]> | ||
# SPDX-License-Identifier: WTFPL | ||
|
||
# This is the top-most EditorConfig file | ||
|
@@ -19,23 +19,32 @@ charset = utf-8 | |
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
|
||
# Avoid git patch fail to apply due to stripped unmodified lines that contains only spaces | ||
[/.git/**] | ||
trim_trailing_whitespace = false | ||
|
||
# Makefiles for *Make | ||
[{Makefile,*.mk}] | ||
indent_style = tab | ||
|
||
# Markdown documents | ||
[*.{md,mkd,mkdn,markdown}] | ||
# Trailing whitespace means manual linebreaks | ||
trim_trailing_whitespace = false | ||
|
||
# YAML documents | ||
[*.{yml,yaml,yamllint}] | ||
indent_size = 2 | ||
|
||
# Avoid git patch fail to apply due to stripped unmodified lines that contains only spaces | ||
[/.git/**] | ||
trim_trailing_whitespace = false | ||
# Don't check indentation size as it can't handle intentional indentation | ||
# in list item after hardbreaks to align with the node markers, use | ||
# Markdownlint to check instead | ||
indent_size = unset | ||
|
||
# Vagrant configuration file | ||
[Vagrantfile] | ||
indent_size = 2 | ||
|
||
# Makefiles for *Make | ||
[{Makefile,*.mk}] | ||
indent_style = tab | ||
# yamllint configuration files | ||
[.yamllint] | ||
indent_size = 2 | ||
|
||
# YAML documents | ||
[*.{yml,yaml}] | ||
indent_size = 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -71,6 +71,5 @@ repos: | |
alias: ec | ||
exclude: | | ||
(?ix)^( | ||
LICENSES/.*| | ||
.*\.md | ||
LICENSES/.* | ||
)$ |