🔧 project settings

pull/2/head
Zhang Peng 2018-07-04 14:49:27 +08:00
parent 9913e1c272
commit c1e15aec6d
2 changed files with 70 additions and 0 deletions

31
.editorconfig 100644
View File

@ -0,0 +1,31 @@
# EditorConfig helps developers define and maintain consistent
# coding styles between different editors and IDEs
# http://editorconfig.org
# 所有文件换行使用 Unix like 风格LFbat 文件使用 win 风格CRLF
# 缩进 java 4 个空格,其他所有文件 2 个空格
root = true
[*]
# Unix-style newlines with a newline ending every file
end_of_line = lf
# Change these settings to your own preference
indent_size = 2
indent_style = space
max_line_length = 120
# We recommend you to keep these unchanged
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
[*.bat]
end_of_line = crlf
[*.java]
indent_size = 4
[*.md]
max_line_length = 0
trim_trailing_whitespace = false

39
.gitignore vendored 100644
View File

@ -0,0 +1,39 @@
################ JAVA ################
# temp folders
classes
target
logs
# temp files
*.class
*.jar
*.war
*.versionsBackup
################ JAVASCRIPT ################
# dependencies
node_modules
# temp folders
build
dist
_book
_jsdoc
# temp files
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
bundle*.js
################ IDEA ################
.idea
*.iml
################ Eclipse ################
.classpath
.project