28 lines
463 B
28 lines
463 B
3 months ago
|
# This file is for unifying the coding style for different editors and IDEs
|
||
|
# editorconfig.org
|
||
|
|
||
|
# PHP PSR-12 Coding Standards
|
||
|
# https://www.php-fig.org/psr/psr-12/
|
||
|
|
||
|
root = true
|
||
|
|
||
|
[*]
|
||
|
charset = utf-8
|
||
|
end_of_line = lf
|
||
|
indent_style = tab
|
||
|
indent_size = 2
|
||
|
trim_trailing_whitespace = true
|
||
|
|
||
|
[*.php]
|
||
|
indent_size = 4
|
||
|
insert_final_newline = true
|
||
|
|
||
|
[*.vue.php]
|
||
|
indent_size = 2
|
||
|
insert_final_newline = false
|
||
|
|
||
|
[*.yml]
|
||
|
indent_style = space
|
||
|
|
||
|
[*.md]
|
||
|
trim_trailing_whitespace = false
|