Skip to content

Update dependency shellcheck to v0.12.0 - #12

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/shellcheck-0.x
Open

renovate[bot] wants to merge 1 commit into
mainfrom
renovate/shellcheck-0.x

Conversation

@renovate

@renovate renovate Bot commented Aug 4, 2025 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Update Change
shellcheck minor 0.9.0 → 0.12.0

Release Notes

koalaman/shellcheck (shellcheck)

v0.12.0

Compare Source

Added
  • Add --files-from option to read input files from a file
  • Add --extended-analysis=local directive/flag to run dataflow analysis
    on the current script only, without considering any sourced includes.
  • --list-optional now lists the SC error code for optional checks
  • Support EditorConfig shellcheck.* keys
  • SC2336: Suggest cp -R over implementation specific cp -r
  • SC2337: Warn about grep -q in pipelines under pipefail
  • SC2338: Optionally suggest [[ x == y ]] over [[ x = y ]]
    (bash require-double-equals)
  • SC2339/SC2340/SC2341/SC3426: Improved exit/return validation across shells
Changed
  • SC2024/SC2232: sudo redirection/builtin now also apply to doas and run0
  • SC2114/SC2115: Unintentional rm warning now also triggers on globs like
    rm /bin/*$empty* and non-canonical paths like rm -rf /home/foo/$empty/..
  • SC2236/SC2237: warning for negated -n/-z in [ ] now also triggers for test
  • SC2312: cmd || echo .. is now considered handling failure
  • SC3040: Support pipefail as specified in POSIX.1-2024
Fixed
  • |& now parses correctly as coprocess separator it Ksh
  • Malformed shebangs retain warnings, but are no longer counted as shebangs
  • json1 output no longer contains duplicates instances of warnings
  • SC1072 about an invalid disable= value now names the value instead
    of a missing =
  • SC2031: No longer warns that assignments to _ may be lost in a subshell
  • SC2034: Unused variables no longer warn when allexport is enabled
  • SC2035: Unprotected globs no longer warn when noglob is enabled
  • SC2064: readonly variables no longer warn about expanding in trap
  • SC2147: Check for tilde in $PATH now also triggers for declare/local/export
  • SC2164: Status of cd is considered handled when returned from a function
  • SC2178: Overwriting built-in bash arrays no longer warns in non-bash shells
  • SC2185: find -files0-from no longer triggers check about missing path
  • SC2218: Won't trigger on bats tests invoking functions defined later
  • SC2317: No longer reports commands as unreachable when a case catch-all
    is followed by ;;& and a non-default final clause
  • SC3001: busybox sh now considered to support <(process substitution)
Removed
  • SC3003: removed since ANSI C string is specified in POSIX.1-2024

v0.11.0

Compare Source

Added
  • SC2327/SC2328: Warn about capturing the output of redirected commands.
  • SC2329: Warn when (non-escaping) functions are never invoked.
  • SC2330: Warn about unsupported glob matches with [[ .. ]] in BusyBox.
  • SC2331: Suggest using standard -e instead of unary -a in tests.
  • SC2332: Warn about [ ! -o opt ] being unconditionally true in Bash.
  • SC3062: Warn about bashism [ -o opt ].
  • Optional avoid-negated-conditions: suggest replacing [ ! a -eq b ]
    with [ a -ne b ], and similar for -ge/-lt/=/!=/etc (SC2335).
  • Precompiled binaries for Linux riscv64 (linux.riscv64)
Changed
  • SC2002 about Useless Use Of Cat is now disabled by default. It can be
    re-enabled with --enable=useless-use-of-cat or equivalent directive.
  • SC2236/SC2237 about replacing [ ! -n .. ] with [ -z ] and vice versa
    is now optional under avoid-negated-conditions.
  • SC2015 about A && B || C no longer triggers when B is a test command.
  • SC3012: Do not warn about \< and \> in test/[] as specified in POSIX.1-2024
  • Diff output now uses / as path separator on Windows
Fixed
  • SC2218 about function use-before-define is now more accurate.
  • SC2317 about unreachable commands is now less spammy for nested ones.
  • SC2292, optional suggestion for [[ ]], now triggers for Busybox.
  • Updates for Bash 5.3, including ${| cmd; } and source -p
Removed
  • SC3013: removed since the operators -ot/-nt/-ef are specified in POSIX.1-2024

v0.10.0

Compare Source

Added
  • Precompiled binaries for macOS ARM64 (darwin.aarch64)
  • Added support for busybox sh
  • Added flag --rcfile to specify an rc file by name.
  • Added extended-analysis=true directive to enable/disable dataflow analysis
    (with a corresponding --extended-analysis flag).
  • SC2324: Warn when x+=1 appends instead of increments
  • SC2325: Warn about multiple !s in dash/sh.
  • SC2326: Warn about foo | ! bar in bash/dash/sh.
  • SC3012: Warn about lexicographic-compare bashism in test like in [ ]
  • SC3013: Warn bashism test _ -op/-nt/-ef _ like in [ ]
  • SC3014: Warn bashism test _ == _ like in [ ]
  • SC3015: Warn bashism test _ =~ _ like in [ ]
  • SC3016: Warn bashism test -v _ like in [ ]
  • SC3017: Warn bashism test -a _ like in [ ]
Fixed
  • source statements with here docs now work correctly
  • "(Array.!): undefined array element" error should no longer occur

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@coderabbitai

coderabbitai Bot commented Aug 4, 2025

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Note

Free review on us!

CodeRabbit is offering free reviews until Tue Aug 05 2025 to showcase some of the refinements we've made.

🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@renovate renovate Bot changed the title Update dependency shellcheck to v0.11.0 Update dependency shellcheck to v0.12.0 Dec 5, 2026
@renovate
renovate Bot force-pushed the renovate/shellcheck-0.x branch from 0ee3a2c to a0ab679 Compare December 5, 2026 17:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants