2021-12-08 23:35:39 +03:00
|
|
|
# top-most .editorconfig file
|
|
|
|
# See Also: https://EditorConfig.org
|
|
|
|
root = true
|
|
|
|
|
|
|
|
# By default indent with 4 spaces
|
|
|
|
[*]
|
|
|
|
indent_style = space
|
|
|
|
indent_size = 4
|
|
|
|
insert_final_newline = true
|
|
|
|
trim_trailing_whitespace = true
|
|
|
|
charset = utf-8
|
|
|
|
# Note: this is not currently supported by all editors or their editorconfig plugins.
|
|
|
|
max_line_length = 132
|
|
|
|
|
2024-07-12 22:56:14 +03:00
|
|
|
[*.py]
|
2021-12-08 23:35:39 +03:00
|
|
|
max_line_length = 99
|
2024-07-12 22:56:14 +03:00
|
|
|
|
2021-12-08 23:35:39 +03:00
|
|
|
# Makefiles need tab indentation
|
|
|
|
[{Makefile,*.mk}]
|
|
|
|
indent_style = tab
|
|
|
|
tab_width = 8
|
|
|
|
end_of_line = lf
|
|
|
|
|
|
|
|
# Set some end_of_line rules.
|
|
|
|
# See Also: .gitattributes
|
|
|
|
|
|
|
|
[{*.ps1,*.cmd,*.bat}]
|
|
|
|
end_of_line = crlf
|
|
|
|
|
|
|
|
[*.sh]
|
|
|
|
end_of_line = lf
|
|
|
|
|
|
|
|
[*.yml]
|
|
|
|
indent_size = 2
|