summaryrefslogtreecommitdiff
path: root/.precious.toml
diff options
context:
space:
mode:
authorMatthew Fennell <matthew@fennell.dev>2026-10-18 14:58:00 +0100
committerMatthew Fennell <matthew@fennell.dev>2026-10-18 14:58:00 +0100
commitfe4acf229e7d8e8340c61270a70a7a2706e3cfe1 (patch)
tree833f29cd5541e8d7481b1397228c2966f6638437 /.precious.toml
Initial commit
This repo will contain small helpers that simplify some tasks in Monal development, but don't necessarily need to be incorporated back into the main repo (e.g. because they are very tailored to my workflow, or I'm still working out an approach to take)
Diffstat (limited to '.precious.toml')
-rw-r--r--.precious.toml27
1 files changed, 27 insertions, 0 deletions
diff --git a/.precious.toml b/.precious.toml
new file mode 100644
index 0000000..d7a5675
--- /dev/null
+++ b/.precious.toml
@@ -0,0 +1,27 @@
+# SPDX-FileCopyrightText: 2024 Matthew Fennell <matthew@fennell.dev>
+#
+# SPDX-License-Identifier: AGPL-3.0-or-later
+
+[commands.gitlint]
+cmd = ["gitlint"]
+include = "*"
+invoke = "once"
+ok_exit_codes = [0]
+path_args = "none"
+type = "lint"
+
+[commands.reuse]
+cmd = ["reuse", "lint"]
+include = "*"
+invoke = "once"
+lint_failure_exit_codes = [1]
+ok_exit_codes = [0]
+path_args = "none"
+type = "lint"
+
+[commands.shellcheck]
+cmd = ["shellcheck", "--severity=style", "--enable=all"]
+include = ["hooks/*"]
+lint_failure_exit_codes = [1]
+ok_exit_codes = [0]
+type = "lint"