File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # EditorConfig helps developers define and maintain consistent
2+ # coding styles between different editors and IDEs
3+ # http://editorconfig.org
4+ # 所有文件换行使用 Unix like 风格(LF),bat 文件使用 win 风格(CRLF)
5+ # 缩进 java 4 个空格,其他所有文件 2 个空格
6+
7+ root = true
8+
9+ [* ]
10+ # Unix-style newlines with a newline ending every file
11+ end_of_line = lf
12+
13+ # Change these settings to your own preference
14+ indent_size = 2
15+ indent_style = space
16+ max_line_length = 120
17+
18+ # We recommend you to keep these unchanged
19+ charset = utf-8
20+ trim_trailing_whitespace = true
21+ insert_final_newline = true
22+
23+ [* .bat ]
24+ end_of_line = crlf
25+
26+ [* .java ]
27+ indent_size = 4
28+
29+ [* .md ]
30+ max_line_length = 0
31+ trim_trailing_whitespace = false
Original file line number Diff line number Diff line change 1+ * text =auto eol =lf
2+
3+ # plan text
4+ * .txt text
5+ * .java text
6+ * .scala text
7+ * .groovy text
8+ * .gradle text
9+ * .xml text
10+ * .xsd text
11+ * .tld text
12+ * .yaml text
13+ * .yml text
14+ * .wsdd text
15+ * .wsdl text
16+ * .jsp text
17+ * .jspf text
18+ * .js text
19+ * .jsx text
20+ * .json text
21+ * .css text
22+ * .less text
23+ * .sql text
24+ * .properties text
25+
26+ # unix style
27+ * .sh text eol =lf
28+
29+ # win style
30+ * .bat text eol =crlf
31+
32+ # don't handle
33+ * .der - text
34+ * .jks - text
35+ * .pfx - text
36+ * .map - text
37+ * .patch - text
38+ * .dat - text
39+ * .data - text
40+ * .db - text
41+
42+ # binary
43+ * .jar binary
44+ * .war binary
45+ * .zip binary
46+ * .tar binary
47+ * .tar.gz binary
48+ * .gz binary
49+ * .apk binary
50+ * .bin binary
51+ * .exe binary
52+
53+ # 图片
54+ * .png binary
55+ * .jpg binary
56+ * .ico binary
57+ * .gif binary
58+
59+ # 音视频
60+ * .mp3 binary
61+ * .swf binary
62+
63+ # 字体
64+ * .eot binary
65+ * .svg binary
66+ * .ttf binary
67+ * .woff binary
68+
69+ # other doc
70+ * .pdf binary
71+ * .doc binary
72+ * .docx binary
73+ * .xls binary
74+ * .xlsx binary
75+ * .xmind binary
Original file line number Diff line number Diff line change 1- # Compiled class file
1+ # ############### JAVA ################
2+ # temp folders
3+ classes
4+ target
5+ logs
6+
7+ # temp files
28* .class
9+ * .jar
10+ * .war
11+
312
4- # Log file
13+ # ############### JAVASCRIPT ################
14+ # dependencies
15+ node_modules
16+
17+ # temp folders
18+ build
19+ dist
20+ _book
21+ _jsdoc
22+
23+ # temp files
524* .log
25+ npm-debug.log *
26+ yarn-debug.log *
27+ yarn-error.log *
28+ bundle * .js
629
7- # BlueJ files
8- * .ctxt
930
10- # Mobile Tools for Java (J2ME)
11- .mtj.tmp /
31+ # ############### IDEA ################
32+ .idea
33+ * .iml
1234
13- # Package Files #
14- * .jar
15- * .war
16- * .ear
17- * .zip
18- * .tar.gz
19- * .rar
2035
21- # virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
22- hs_err_pid *
36+ # ############### Eclipse ################
37+ .classpath
38+ .project
You can’t perform that action at this time.
0 commit comments