-
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.
Signed-off-by: 林博仁(Buo-ren, Lin) <Buo.Ren.Lin@gmail.com>
- Loading branch information
Showing
1 changed file
with
24 additions
and
23 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 |
---|---|---|
@@ -1,43 +1,44 @@ | ||
# EditorConfig is awesome | ||
# http://EditorConfig.org | ||
# | ||
# This file is based on The Common EditorConfig Template project | ||
# https://github.com/Lin-Buo-Ren/the-common-editorconfig-template | ||
# Public Domain | ||
## Indicate that is the top-most EditorConfig file to search for ## | ||
# Copyright 2020 林博仁(Buo-ren, Lin) <Buo.Ren.Lin@gmail.com> | ||
# SPDX-License-Identifier: WTFPL | ||
|
||
# This is the top-most EditorConfig file | ||
root = true | ||
|
||
## Common setting for all files not specified ## | ||
# Common settings | ||
[*] | ||
# The character set of the file | ||
charset = utf-8 | ||
|
||
# The end of line(EOL) sequence of the file | ||
end_of_line = lf | ||
|
||
# Whether to ensure there's always a single end of line sequence at the end of the file for compatibility of some utilities | ||
insert_final_newline = true | ||
|
||
# Determine the actual(Space)/visual(Tab) width of one indentation level | ||
indent_size = 4 | ||
|
||
# Determine the default indentation character sequence | ||
# tab: 1 tab per indentation level | ||
# space: {indent_size} per indentation level | ||
indent_style = space | ||
|
||
# Whether to trim out the (unnecessary) trailing whitespace(s) of the line | ||
indent_size = 4 | ||
charset = utf-8 | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
|
||
## Markdown specific settings ## | ||
# Markdown documents | ||
[*.{md,mkd,mkdn,markdown}] | ||
# Trailing whitespace means manual linebreaks in Markdown thus is not trimmable | ||
# Trailing whitespace means manual linebreaks | ||
trim_trailing_whitespace = false | ||
|
||
## YAML specific settings ## | ||
# YAML documents | ||
[*.{yml,yaml}] | ||
indent_size = 2 | ||
|
||
## Git specific settings ## | ||
# Avoid git patch fail to apply due to stripped unmodified lines that contains only spaces | ||
[/.git/**] | ||
trim_trailing_whitespace = false | ||
|
||
# Vagrant configuration file | ||
[Vagrantfile] | ||
indent_size = 2 | ||
|
||
# Makefiles for *Make | ||
[{Makefile,*.mk}] | ||
indent_style = tab | ||
|
||
# Avoid git patch fail to apply due to the stripped unmodified lines that contains only spaces, which also matches as "trailing spaces" | ||
[.git/**] | ||
trim_trailing_whitespace = false |