forked from Gitlink/gitea-1120-rc1
27 lines
539 B
INI
27 lines
539 B
INI
# top-most EditorConfig file
|
|
root = true
|
|
|
|
# Unix-style newlines with a newline ending every file
|
|
[*]
|
|
end_of_line = lf
|
|
insert_final_newline = true
|
|
indent_style = space
|
|
indent_size = 2
|
|
trim_trailing_whitespace = true
|
|
|
|
# Set default charset
|
|
[*.{js,py,go,scala,rb,java,html,css,less,sass,md}]
|
|
charset = utf-8
|
|
|
|
# Tab indentation (no size specified)
|
|
[*.go]
|
|
indent_style = tab
|
|
|
|
[*.md]
|
|
trim_trailing_whitespace = false
|
|
|
|
# Matches the exact files either package.json or .travis.yml
|
|
[{package.json,.travis.yml}]
|
|
indent_style = space
|
|
indent_size = 2
|