# 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
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace=true

# Matches multiple files with brace expansion notation
# Set default charset
[*.{c,h,proto,cpp,hpp,h.in,hpp.in}]
indent_style = space
indent_size = 2

[*.py]
indent_style = space
indent_size = 4

[*.conf]
indent_style = space
indent_size = 4

[*.{nix,json}]
indent_style = space
indent_size = 2
