Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.shellcheckrc is not picked up? #14

Open
petemounce opened this issue Dec 9, 2022 · 0 comments
Open

.shellcheckrc is not picked up? #14

petemounce opened this issue Dec 9, 2022 · 0 comments

Comments

@petemounce
Copy link

Thank you for writing this! I'd been wondering if there was support for this (and shfmt come to that).

I have a .shellcheckrc in my repository root. It's not picked up; I validated this by adding --exclude=SC2086 to it and running against a file that violates that; that rule is still included.

I have copy/pasted to WORKSPACE and a BUILD file precisely as in README.md @ ceb47de.

Should I expect it to? My instinct is "not yet" as I don't see shellcheckrc appear in this repo.

Is there a way I can supply arguments to the underlying invocation of shellcheck, or a change I might patch in to have the rule look in the workspace-root for the config (as that's the most likely location)?

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

No branches or pull requests

1 participant