2020-10-04 02:23:33 +09:00
|
|
|
# http://editorconfig.org
|
|
|
|
root = true
|
|
|
|
|
|
|
|
[*]
|
2021-04-12 12:06:13 +02:00
|
|
|
indent_style = tab
|
2020-10-04 02:23:33 +09:00
|
|
|
indent_size = 2
|
|
|
|
end_of_line = lf
|
|
|
|
charset = utf-8
|
|
|
|
trim_trailing_whitespace = true
|
|
|
|
insert_final_newline = true
|
|
|
|
|
|
|
|
# Use 4 spaces for the Python files
|
|
|
|
[*.py]
|
|
|
|
indent_size = 4
|
|
|
|
max_line_length = 80
|
|
|
|
|
|
|
|
# The JSON files contain newlines inconsistently
|
|
|
|
[*.json]
|
|
|
|
insert_final_newline = ignore
|
|
|
|
|
|
|
|
# Minified JavaScript files shouldn't be changed
|
|
|
|
[**.min.js]
|
|
|
|
indent_style = ignore
|
|
|
|
insert_final_newline = ignore
|
|
|
|
|
|
|
|
# Makefiles always use tabs for indentation
|
|
|
|
[Makefile]
|
|
|
|
indent_style = tab
|
|
|
|
|
|
|
|
# Batch files use tabs for indentation
|
|
|
|
[*.bat]
|
|
|
|
indent_style = tab
|
|
|
|
|
|
|
|
[*.md]
|
|
|
|
trim_trailing_whitespace = false
|
|
|
|
|