Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 821051a52e | |||
| 2137b008a8 | |||
| 62d83786c3 |
+15
-30
@@ -1,45 +1,30 @@
|
||||
# EditorConfig is awesome: https://EditorConfig.org
|
||||
|
||||
# top-most EditorConfig file
|
||||
# 根目录配置文件
|
||||
root = true
|
||||
|
||||
# Unix-style newlines with a newline ending every file
|
||||
|
||||
# 默认规则
|
||||
[*]
|
||||
charset = utf-8
|
||||
end_of_line = lf
|
||||
insert_final_newline = true
|
||||
trim_trailing_whitespace = true
|
||||
|
||||
# Matches multiple files with brace expansion notation
|
||||
# Set default charset
|
||||
[*.{js,py}]
|
||||
charset = utf-8
|
||||
|
||||
# 4 space indentation
|
||||
[*.py]
|
||||
indent_style = space
|
||||
indent_size = 4
|
||||
|
||||
# Tab indentation (no size specified)
|
||||
[Makefile]
|
||||
indent_style = tab
|
||||
|
||||
# Indentation override for all JS under lib directory
|
||||
[lib/**.js]
|
||||
indent_style = space
|
||||
indent_size = 2
|
||||
|
||||
# Matches the exact files either package.json or .travis.yml
|
||||
[{package.json,.travis.yml}]
|
||||
indent_style = space
|
||||
indent_size = 2
|
||||
|
||||
# Bash scripts
|
||||
# Shell scripts
|
||||
[*.sh]
|
||||
charset = utf-8
|
||||
indent_style = space
|
||||
indent_size = 2
|
||||
|
||||
# JSON files
|
||||
[*.json]
|
||||
charset = utf-8
|
||||
|
||||
# Markdown documents
|
||||
[*.md]
|
||||
indent_style = space
|
||||
indent_size = 2
|
||||
trim_trailing_whitespace = false
|
||||
|
||||
|
||||
[*.{json,yml,yaml}]
|
||||
indent_style = space
|
||||
indent_size = 2
|
||||
+2
-1
@@ -1,2 +1,3 @@
|
||||
config/config.json
|
||||
logs
|
||||
logs
|
||||
tls
|
||||
Reference in New Issue
Block a user