Skip to content

[Feature] Pass path to shellcheckrc from command line #2199

@mohkale

Description

@mohkale

For new checks and feature suggestions

Description

At the moment there doesn't seem to be a way to tell shellcheck to read a specific configuration file instead of looking for the global one.

For example I've got a lint script on my dotfiles and I'd like to setup a github action that uses my shellcheckrc file at core/scrc, how would you do this?

Version Info

ShellCheck - shell script analysis tool
version: 0.7.1
license: GNU General Public License, version 3
website: https://www.shellcheck.net

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions