SaaS Boilerplate - Open Source and free SaaS stack that lets you build SaaS products faster in React, Django and AWS. Focus on essential business logic instead of coding repeatable features!
I recommend adding the shellcheck linter into CI/CD to ensure all those are free of hidden bugs and follow the best practices. It will also make it easier for users to customize those scripts if they need to, and to learn the shell scripting along the way, as it provides detailed instructions and rationale in case of any error/warning, e.g. see https://github.com/koalaman/shellcheck/wiki/SC1014.
This is a directive to disable the specific warning, so I believe the author is already using shellcheck locally, but the tool is not integrated into the codebase itself 😄
Description
We have a significant number of shell scripts in the repo:
I recommend adding the
shellcheck
linter into CI/CD to ensure all those are free of hidden bugs and follow the best practices. It will also make it easier for users to customize those scripts if they need to, and to learn the shell scripting along the way, as it provides detailed instructions and rationale in case of any error/warning, e.g. see https://github.com/koalaman/shellcheck/wiki/SC1014.I have been using
shellcheck
for several years and it helped me a lot. It also offers support pre-commit if we ever want it: https://github.com/koalaman/shellcheck#pre-commit.Describe the solution you'd like
See above
Describe alternatives you've considered
No response
Additional context
I see that there's one mention of
shellcheck
in the codebase:This is a directive to disable the specific warning, so I believe the author is already using
shellcheck
locally, but the tool is not integrated into the codebase itself 😄Validations