gruntwork-io / gruntwork-io/pre-commit

Allow specifying arbitrary args for shellcheck

Open
#28 2 comments 5 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
547
Forks
168
PR merge metrics
No merged PRs in 30d

Description

Unfortunately `args` currently only allows `--enable`.
This is problematic when other shellcheck options are necesarry.

Concrete use-case:
When sourcing files in scripts shellcheck requires the `--external-sources` / `-x` option to follow these. Otherwise it will fail with a `SC1091` error.

Please enable passing all options through to shellcheck.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.