diff options
author | Austin S. Hemmelgarn <austin@netdata.cloud> | 2023-02-16 07:31:06 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-16 07:31:06 -0500 |
commit | 5c7bd2c6488cd19fa4a0eb435221223ea5e7de81 (patch) | |
tree | 68ca846d6778b3f161a4fad6d44c411d649820b3 /.shellcheckrc | |
parent | fe5f3b64927e9efb26bdf6d6401e6cd078b738ea (diff) |
Assorted shellcheck cleanup. (#14524)
* Add shellcheck config file to globally disable dead code checks.
These checks have an extremely high false positive rate and even when
they’re correctly flagging code the impact is generally very low.
* Fix assorted shellcheck errors in installer code.
This should make reviewing PRs relating to this code much easier.
* Make shellcheck quit complaining about shellcheckrc formatting.
Diffstat (limited to '.shellcheckrc')
-rw-r--r-- | .shellcheckrc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/.shellcheckrc b/.shellcheckrc new file mode 100644 index 0000000000..c017258ee8 --- /dev/null +++ b/.shellcheckrc @@ -0,0 +1,3 @@ +#!/bin/sh +# shellcheck disable=SC2034 +disable=SC2317 |