Browse Source

add editorconfig

Looly 5 years ago
parent
commit
c95ca61b45
2 changed files with 22 additions and 0 deletions
  1. 21 0
      .editorconfig
  2. 1 0
      pom.xml

+ 21 - 0
.editorconfig

@@ -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

+ 1 - 0
pom.xml

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