1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53
|
# SPDX-FileCopyrightText: David Fritzsche
# SPDX-License-Identifier: CC0-1.0
#
# See https://EditorConfig.org
#
# PyCharm support:
# - https://www.jetbrains.com/help/pycharm/configuring-code-style.html#editorconfig
#
# Visual Studio Code:
# - https://marketplace.visualstudio.com/items?itemName=EditorConfig.EditorConfig
# - https://github.com/editorconfig/editorconfig-vscode
#
# Emacs:
# - https://github.com/editorconfig/editorconfig-emacs#readme
# top-most EditorConfig file
root = true
[*.{cfg,ini,py,proto,sh}]
charset = utf-8
indent_style = space
indent_size = 4
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
[{.editorconfig,MANIFEST.in,Pipfile}]
charset = utf-8
indent_style = space
indent_size = 4
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
# No indent_size
[*.{rst,txt,yml}]
charset = utf-8
indent_style = space
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
# Do not trim trailing whitespace
[*.md]
charset = utf-8
indent_style = space
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = false
# CRLF line endings
[*.bat]
end_of_line = crlf
|