added editorconfig, pre commit hooks

This commit is contained in:
Tobias Schmidl 2023-10-05 10:14:04 +02:00
parent 0561f9eb04
commit 266ea2e006
10 changed files with 123 additions and 33 deletions

19
.editorconfig Normal file
View file

@ -0,0 +1,19 @@
# SPDX-FileCopyrightText: 2023 Tobias Schmidl
#
# SPDX-License-Identifier: GPL-3.0-or-later
# EditorConfig is awesome: https://EditorConfig.org
# top-most EditorConfig file
root = true
[*]
indent_style = space
indent_size = 4
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
[*.{yaml,yml}]
indent_size = 2