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/.pre-commit-config.yaml b/.pre-commit-config.yaml index 43702bd..5d16bcc 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -11,6 +11,7 @@ repos: - 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: @@ -20,4 +21,10 @@ repos: 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] ...