feat: added editorconfig, markdownlint, pre-commit config, gitignore

This commit is contained in:
Tobias Schmidl 2023-10-17 13:27:08 +02:00
parent 11673ff654
commit 6df7893e1f
6 changed files with 118 additions and 0 deletions

29
.editorconfig Normal file
View file

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