tools: Update tidy.sh and related configs

This commit is contained in:
Taiki Endo
2025-02-04 01:29:05 +09:00
parent 400052b460
commit 4666e04560
3 changed files with 922 additions and 311 deletions

View File

@@ -2,13 +2,34 @@
# https://github.com/koalaman/shellcheck/blob/HEAD/shellcheck.1.md#rc-files
# See also:
# https://www.shellcheck.net/wiki/Optional
# https://github.com/koalaman/shellcheck/wiki/Optional
# https://google.github.io/styleguide/shellguide.html
# https://www.shellcheck.net/wiki/SC2292
# https://github.com/koalaman/shellcheck/wiki/SC2249
# enable=add-default-case
# https://github.com/koalaman/shellcheck/wiki/SC2244
enable=avoid-nullary-conditions
# https://github.com/koalaman/shellcheck/wiki/SC2312
# enable=check-extra-masked-returns
# https://github.com/koalaman/shellcheck/wiki/SC2310
# https://github.com/koalaman/shellcheck/wiki/SC2311
# enable=check-set-e-suppressed
# enable=check-unassigned-uppercase
# https://github.com/koalaman/shellcheck/wiki/SC2230
enable=deprecate-which
# https://github.com/koalaman/shellcheck/wiki/SC2248
enable=quote-safe-variables
# https://github.com/koalaman/shellcheck/wiki/SC2292
# https://google.github.io/styleguide/shellguide.html#s6.3-tests
enable=require-double-brackets
# https://www.shellcheck.net/wiki/SC2250
# https://github.com/koalaman/shellcheck/wiki/SC2250
# https://google.github.io/styleguide/shellguide.html#s5.6-variable-expansion
enable=require-variable-braces