-
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Resolve shellcheck lint issues (#100)
* fix: exclude double-quoted variables rule * refactor: fix lint issues in persistent-setup * refactor: increase indentation of onlynet_onion * refactor: satisfy shellcheck SC2181 This refactor doesn't make a ton of sense so another option is to revert this commit and exclude SC2181. * refactor: fix indentation of link_dotfiles subshell * refactor: avoid for loops over find output [SC2044] * refactor: comment out unused variable * refactor: ensure variable never expands to /bin or /lib * refactor: use -n instead of ! -z * Ignore SC2046 in CI checks * fix syntax in yaml * refactor: read without -r will mangle backslashes * refactor: Declare and assign separately to avoid masking return values * refactor: read without -r will mangle backslashes * refactor: Don't use variables in the printf format string * refactor: $ is unnecessary on arithmetic variables * Remove the repeated ', providing ... privacy.' * Clarify that Bitcoin Core connects, not Bails * Make consistent with Lines 113 and 156 * Exclude SC2012 (Use 'cd ... || exit') and SC2164 (find instead of ls) * wording change in comment * lint fixes --------- Co-authored-by: Ben Westgate <[email protected]>
- Loading branch information
1 parent
d2b0d21
commit b22f191
Showing
6 changed files
with
37 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,6 +15,8 @@ jobs: | |
- uses: actions/checkout@v4 | ||
- name: Lint with shellcheck | ||
uses: ludeeus/[email protected] | ||
env: | ||
SHELLCHECK_OPTS: -e 2012 -e SC2046 -e SC2086 -e SC2164 | ||
with: | ||
ignore_paths: | | ||
./bin/bails-wallet | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters