Add a editorconfig file.
This commit is contained in:
parent
7ba670ba69
commit
9017bdebf5
2 changed files with 22 additions and 1 deletions
20
.editorconfig
Normal file
20
.editorconfig
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
# Editor configuration normalization
|
||||
# @see http://editorconfig.org/
|
||||
|
||||
# This is the top-most .editorconfig file; do not search in parent directories.
|
||||
root = true
|
||||
|
||||
# All files.
|
||||
[*]
|
||||
end_of_line = LF
|
||||
indent_style = space
|
||||
indent_size = 2
|
||||
charset = utf-8
|
||||
trim_trailing_whitespace = true
|
||||
insert_final_newline = true
|
||||
|
||||
[*.{md,mdown,markdown}]
|
||||
indent_size = 4
|
||||
trim_trailing_whitespace = false
|
||||
insert_final_newline = false
|
||||
x-soft-wrap-text = true
|
||||
|
|
@ -22,7 +22,8 @@ copy_files=("themes/zen/assets/sass/_colors.scss:assets/sass/_colors.scss"
|
|||
"themes/zen/assets/sass/_custom.scss:assets/sass/_custom.scss"
|
||||
"themes/zen/assets/sass/_zen.scss:assets/sass/_zen.scss"
|
||||
"themes/zen/layouts/index.html:layouts/index.html"
|
||||
"themes/zen/exampleSite/config.yaml:config.yaml")
|
||||
"themes/zen/exampleSite/config.yaml:config.yaml"
|
||||
"themes/zen/.editorconfig:.editorconfig")
|
||||
|
||||
for files in "${copy_files[@]}" ; do
|
||||
if [[ ! -f "${files##*:}" ]]; then
|
||||
|
|
|
|||
Loading…
Reference in a new issue