Skip to content

An open-source cross-platform alternative to AirDrop

trunk linting tool

Justin Bailey6a8fb722e1c1
diff --git a/.trunk/.gitignore b/.trunk/.gitignore
new file mode 100644
index 00000000..cf2f2547
--- /dev/null
+++ b/.trunk/.gitignore
@@ -0,0 +1,7 @@
+*out
+*logs
+*actions
+*notifications
+plugins
+user_trunk.yaml
+user.yaml
diff --git a/.trunk/configs/.markdownlint.yaml b/.trunk/configs/.markdownlint.yaml
new file mode 100644
index 00000000..fb940393
--- /dev/null
+++ b/.trunk/configs/.markdownlint.yaml
@@ -0,0 +1,10 @@
+# Autoformatter friendly markdownlint config (all formatting rules disabled)
+default: true
+blank_lines: false
+bullet: false
+html: false
+indentation: false
+line_length: false
+spaces: false
+url: false
+whitespace: false
diff --git a/.trunk/configs/.shellcheckrc b/.trunk/configs/.shellcheckrc
new file mode 100644
index 00000000..8c7b1ada
--- /dev/null
+++ b/.trunk/configs/.shellcheckrc
@@ -0,0 +1,7 @@
+enable=all
+source-path=SCRIPTDIR
+disable=SC2154
+
+# If you're having issues with shellcheck following source, disable the errors via:
+# disable=SC1090
+# disable=SC1091
diff --git a/.trunk/trunk.yaml b/.trunk/trunk.yaml
new file mode 100644
index 00000000..6142b4e6
--- /dev/null
+++ b/.trunk/trunk.yaml
@@ -0,0 +1,31 @@
+version: 0.1
+cli:
+ version: 1.4.1
+plugins:
+ sources:
+ - id: trunk
+ ref: v0.0.10
+ uri: https://github.com/trunk-io/plugins
+lint:
+ enabled:
+ - git-diff-check
+runtimes:
+ enabled:
+actions:
+ disabled:
+ - trunk-announce
+ - trunk-check-pre-push
+ - trunk-fmt-pre-commit
+ enabled:
+ - trunk-upgrade-available