Add EditorConfig

Signed-off-by: Tim Crawford <tcrawford@system76.com>
This commit is contained in:
Tim Crawford 2025-06-04 14:13:20 -06:00
parent c24eadde07
commit 5ea0d7de14
No known key found for this signature in database
GPG Key ID: 68E558D2BBD856E3
1 changed files with 21 additions and 0 deletions

21
.editorconfig Normal file
View File

@ -0,0 +1,21 @@
# SPDX-License-Identifier: GPL-2.0-or-later
root = true
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
[*.c]
indent_size = 8
indent_style = tab
[{Makefile,Makefile.*,*.mk}]
indent_size = 8
indent_style = tab
[*.md]
indent_size = 2
indent_style = space