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

Lint files using ShellCheck #12

Open
TimonLukas opened this issue Apr 12, 2021 · 0 comments
Open

Lint files using ShellCheck #12

TimonLukas opened this issue Apr 12, 2021 · 0 comments

Comments

@TimonLukas
Copy link
Contributor

When I noticed that some files were erroring because of Dash, I wanted to make sure there's no syntax errors in the scripts. For this purpose I usually use ShellCheck, a very useful shell linter that already saved me from a few mistakes.

It might be a good idea to let it run over this repositories' shell files and to look through the recommendations - this could help with POSIX compatibility, and it might prevent errors from creeping in :) it's also available as an IDE plugin for popular ones like VS Code or Jetbrains IDEs.

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