-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy path.editorconfig
More file actions
37 lines (30 loc) · 797 Bytes
/
.editorconfig
File metadata and controls
37 lines (30 loc) · 797 Bytes
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
# 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
[*.patch]
charset = unset
end_of_line = unset
insert_final_newline = unset
trim_trailing_whitespace = unset