add editorconfig

This commit is contained in:
Looly 2021-01-20 17:37:54 +08:00
parent 4e38adb32d
commit c95ca61b45
2 changed files with 22 additions and 0 deletions

21
.editorconfig Normal file
View File

@ -0,0 +1,21 @@
# http://editorconfig.org
# 配置修改自https://gitee.com/596392912/mica/blob/master/.editorconfig
root = true
[*]
indent_style = tab
charset = utf-8
end_of_line = lf
trim_trailing_whitespace = true
insert_final_newline = true
[*.java]
indent_style = tab
[*.{json,yml}]
indent_size = 2
[*.md]
insert_final_newline = false
trim_trailing_whitespace = false

View File

@ -112,6 +112,7 @@
</execution>
</executions>
</plugin>
</plugins>
</build>