From 972e58889493b20e48f855cb92f00394062e7c08 Mon Sep 17 00:00:00 2001 From: th33xitus Date: Tue, 26 Apr 2022 20:24:53 +0200 Subject: [PATCH] gitignore: unignore .shellcheckrc * also unignore IDE specific directories, those should be ignored globally by the developer anyways Signed-off-by: Dominik Willner th33xitus@gmail.com --- .gitignore | 2 -- .shellcheckrc | 14 ++++++++++++++ 2 files changed, 14 insertions(+), 2 deletions(-) create mode 100644 .shellcheckrc diff --git a/.gitignore b/.gitignore index 42a230f..7084f49 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1 @@ -.idea -.shellcheckrc klipper_repos.txt \ No newline at end of file diff --git a/.shellcheckrc b/.shellcheckrc new file mode 100644 index 0000000..e5c572b --- /dev/null +++ b/.shellcheckrc @@ -0,0 +1,14 @@ +source=scripts + +enable=avoid-nullary-conditions +enable=deprecate-which +enable=quote-safe-variables +enable=require-variable-braces + +# SC2162: `read` without `-r` will mangle backslashes. +# https://github.com/koalaman/shellcheck/wiki/SC2162 +disable=SC2162 + +# SC2164: Use `cd ... || exit` in case `cd` fails +# https://github.com/koalaman/shellcheck/wiki/SC2164 +disable=SC2164