From f171150f9767d7ba0f57d088103bc988b3a0857f Mon Sep 17 00:00:00 2001 From: OniriCorpe Date: Thu, 28 Dec 2023 00:03:16 +0100 Subject: [PATCH 1/2] add shellcheck config --- scripts/.shellcheckrc | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 scripts/.shellcheckrc diff --git a/scripts/.shellcheckrc b/scripts/.shellcheckrc new file mode 100644 index 0000000..6706430 --- /dev/null +++ b/scripts/.shellcheckrc @@ -0,0 +1,15 @@ +# ~/.shellcheckrc + +# follow source _common.sh +external-sources=true + +# disable common errors with yunohost scripting: + +# Not following: (error message here) +disable=SC1091 + +# foo appears unused. Verify it or export it. +disable=SC2034 + +# var is referenced but not assigned. +disable=SC2154 \ No newline at end of file From f0de821447559f7b684909a90d28766bdb9f857f Mon Sep 17 00:00:00 2001 From: OniriCorpe Date: Thu, 28 Dec 2023 00:09:01 +0100 Subject: [PATCH 2/2] shellcheck config moved to the right place... --- scripts/.shellcheckrc => .shellcheckrc | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename scripts/.shellcheckrc => .shellcheckrc (100%) diff --git a/scripts/.shellcheckrc b/.shellcheckrc similarity index 100% rename from scripts/.shellcheckrc rename to .shellcheckrc