diff --git a/.ecrc b/.ecrc new file mode 100644 index 0000000..1dc83fd --- /dev/null +++ b/.ecrc @@ -0,0 +1,4 @@ +{ + "IgnoreDefaults": false, + "Exclude": ["^LICENSE$", "^LICENSES/.*"] +} diff --git a/.ecrc.license b/.ecrc.license new file mode 100644 index 0000000..37bf852 --- /dev/null +++ b/.ecrc.license @@ -0,0 +1,3 @@ +SPDX-FileCopyrightText: 2023 Tobias Schmidl + +SPDX-License-Identifier: AGPL-3.0-or-later diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..bd6a6b9 --- /dev/null +++ b/.editorconfig @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..9a65e46 --- /dev/null +++ b/.gitignore @@ -0,0 +1,39 @@ +# SPDX-FileCopyrightText: 2023 Tobias Schmidl +# +# SPDX-License-Identifier: AGPL-3.0-or-later + +### VisualStudioCode +.vscode/* +!.vscode/settings.json +!.vscode/tasks.json +!.vscode/launch.json +!.vscode/extensions.json +!.vscode/*.code-snippets + +# Local History for Visual Studio Code +.history/ + +# Built Visual Studio Code Extensions +*.vsix + +### Vim +# Swap +[._]*.s[a-v][a-z] +!*.svg # comment out if you don't need vector files +[._]*.sw[a-p] +[._]s[a-rt-v][a-z] +[._]ss[a-gi-z] +[._]sw[a-p] + +# Session +Session.vim +Sessionx.vim + +# Temporary +.netrwhist +*~ +# Auto-generated tag files +tags +# Persistent undo +[._]*.un~ +/.reuse diff --git a/.markdownlint.yml b/.markdownlint.yml new file mode 100644 index 0000000..5abdccd --- /dev/null +++ b/.markdownlint.yml @@ -0,0 +1,9 @@ +# SPDX-FileCopyrightText: 2023 Tobias Schmidl +# +# SPDX-License-Identifier: AGPL-3.0-or-later + +--- +default: true +MD013: false +MD033: false +... diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000..c924c89 --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,34 @@ +# SPDX-FileCopyrightText: 2023 Tobias Schmidl +# +# SPDX-License-Identifier: AGPL-3.0-or-later + +--- +repos: +- repo: https://github.com/pre-commit/pre-commit-hooks + rev: v4.5.0 + hooks: + - id: check-yaml + - id: end-of-file-fixer + - id: trailing-whitespace + - id: check-merge-conflict + - id: check-byte-order-marker +- repo: https://github.com/fsfe/reuse-tool + rev: v2.1.0 + hooks: + - id: reuse +- repo: https://github.com/editorconfig-checker/editorconfig-checker.python + rev: '2.7.3' + hooks: + - id: editorconfig-checker + alias: ec + stages: [commit] +- repo: https://github.com/compilerla/conventional-pre-commit + rev: v2.4.0 + hooks: + - id: conventional-pre-commit + stages: [commit-msg] +- repo: https://github.com/igorshubovych/markdownlint-cli + rev: v0.37.0 + hooks: + - id: markdownlint +...