2023-09-12 03:15:20 +00:00
|
|
|
# Editor configuration, see http://editorconfig.org
|
2023-10-27 14:30:52 +00:00
|
|
|
|
|
|
|
root=true # represents the top-level EditorConfig configuration file
|
|
|
|
|
|
|
|
[*] # means applicable to all files
|
2023-11-16 02:14:14 +00:00
|
|
|
charset = utf-8 # Set the file character set to utf-8
|
|
|
|
indent_style = space # Indent style (tab | space)
|
2023-10-27 14:30:52 +00:00
|
|
|
indent_size = 2 # indent size
|
|
|
|
end_of_line = lf # Control line break type (lf | cr | crlf)
|
|
|
|
trim_trailing_whitespace = true # Remove any whitespace characters at the beginning of the line
|
2023-11-16 02:14:14 +00:00
|
|
|
insert_final_newline = true # Always insert a new line at the end of the file
|
2023-10-27 14:30:52 +00:00
|
|
|
|
|
|
|
[*.md] # Indicates that only md files apply the following rules
|
2023-09-12 03:15:20 +00:00
|
|
|
max_line_length = off
|
|
|
|
trim_trailing_whitespace = false
|
2023-10-27 14:30:52 +00:00
|
|
|
|
2023-09-12 03:15:20 +00:00
|
|
|
[*.{yml,yaml}]
|
|
|
|
indent_size = 2
|