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

Should auto-detect shell files for shellcheck and shfmt checks #186

Open
pzakha opened this issue Jan 7, 2019 · 0 comments
Open

Should auto-detect shell files for shellcheck and shfmt checks #186

pzakha opened this issue Jan 7, 2019 · 0 comments

Comments

@pzakha
Copy link
Contributor

pzakha commented Jan 7, 2019

According to shfmt README, shfmt -d . is the suggested way of using it for CI/CD.
shfmt also provides a utility to find all shell files that can be passed to shellcheck, to have a simplified entry in the Makefile:
shellcheck $$(shfmt -f .)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant