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
|
|
|
|
charset = utf-8 #Set the file character set to utf-8
|
|
|
|
indent_style = space #Indent style (tab | space)
|
|
|
|
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
|
|
|
|
insert_final_newline = true #Always insert a new line at the end of the file
|
|
|
|
|
|
|
|
[*.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
|