2015-09-04 11:14:02 +08:00
|
|
|
# EditorConfig helps developers define and maintain consistent
|
|
|
|
# coding styles between different editors and IDEs
|
|
|
|
# editorconfig.org
|
|
|
|
|
|
|
|
root = true
|
|
|
|
|
|
|
|
[*]
|
|
|
|
end_of_line = lf
|
|
|
|
charset = utf-8
|
|
|
|
trim_trailing_whitespace = true
|
|
|
|
insert_final_newline = true
|
|
|
|
indent_style = space
|
|
|
|
indent_size = 2
|
|
|
|
|
|
|
|
[*.{diff,md}]
|
|
|
|
trim_trailing_whitespace = false
|
|
|
|
|
2022-01-05 07:27:04 +08:00
|
|
|
[*.{php,xml,json}]
|
2015-09-04 11:14:02 +08:00
|
|
|
indent_size = 4
|
2022-07-18 22:19:11 +08:00
|
|
|
|
2023-02-09 04:13:53 +08:00
|
|
|
[{tsconfig.json,prettierrc.json}]
|
2022-07-18 22:19:11 +08:00
|
|
|
indent_size = 2
|
2022-09-14 22:23:56 +08:00
|
|
|
|
|
|
|
[*.neon]
|
|
|
|
indent_style = tab
|
2024-06-21 14:25:11 +08:00
|
|
|
|
|
|
|
[{install,update}.php]
|
|
|
|
indent_size = 2
|