2017-09-03 10:54:23 +02:00
|
|
|
# EditorConfig is awesome: http://EditorConfig.org
|
|
|
|
# SPDX-FileCopyrightText: 2014-2023 Institute for Automation of Complex Power Systems, RWTH Aachen University
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
|
|
# top-most EditorConfig file
|
|
|
|
root = true
|
|
|
|
|
|
|
|
# Unix-style newlines with a newline ending every file
|
|
|
|
[*]
|
2023-09-07 11:23:20 +02:00
|
|
|
charset = utf-8
|
2017-09-03 10:54:23 +02:00
|
|
|
end_of_line = lf
|
|
|
|
insert_final_newline = true
|
2023-09-07 11:23:20 +02:00
|
|
|
trim_trailing_whitespace=true
|
2017-09-03 10:54:23 +02:00
|
|
|
|
|
|
|
# Matches multiple files with brace expansion notation
|
|
|
|
# Set default charset
|
2023-09-19 17:39:30 +02:00
|
|
|
[*.{c,h,proto,cpp,hpp,h.in,hpp.in}]
|
2023-09-07 11:23:20 +02:00
|
|
|
indent_style = space
|
|
|
|
indent_size = 2
|
2019-03-22 14:00:55 +01:00
|
|
|
|
2023-09-19 17:39:30 +02:00
|
|
|
[*.py]
|
|
|
|
indent_style = space
|
|
|
|
indent_size = 4
|
|
|
|
|
2019-03-22 14:00:55 +01:00
|
|
|
[*.conf]
|
2024-02-29 21:36:38 +01:00
|
|
|
indent_style = space
|
|
|
|
indent_size = 4
|
2023-06-13 10:23:38 +02:00
|
|
|
|
2024-02-29 21:36:38 +01:00
|
|
|
[*.{nix,json}]
|
2023-06-13 10:23:38 +02:00
|
|
|
indent_style = space
|
|
|
|
indent_size = 2
|