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