Skip to content

Commit 6e94cde

Browse files
authored
统一代码风格
1 parent 2962223 commit 6e94cde

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

.editorconfig

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# This file is for unifying the coding style for different editors and IDEs
2+
# editorconfig.org
3+
4+
# PHP PSR-2 Coding Standards
5+
# http://www.php-fig.org/psr/psr-2/
6+
7+
root = true
8+
9+
[*.php]
10+
charset = utf-8
11+
end_of_line = lf
12+
insert_final_newline = true
13+
trim_trailing_whitespace = true
14+
indent_style = space
15+
indent_size = 4
16+
17+
[*.md]
18+
trim_trailing_whitespace = false
19+
indent_size = 4
20+
21+
[*.yml]
22+
indent_size = 2
23+
24+
[*.{js,html,css}]
25+
indent_size = 2

0 commit comments

Comments
 (0)