Add Shell Linting #46
jaydrogers
started this conversation in
Ideas
Replies: 1 comment
-
Adding a notePossible shellcheck script could be: #!/bin/bash
# A script to run ShellCheck on specified directories and files
# First, check the script in the bin directory
echo "Linting /bin/spin"
shellcheck bin/spin
# Now, find all .sh files in the lib directory and run ShellCheck on them
echo "Linting all .sh files in /lib/actions"
find lib/actions -type f -name "*.sh" -exec shellcheck {} +
echo "All scripts have been linted." |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
👉 Describe the problem
There are areas of the code that could be standardized and automatically linted.
👥 Problem evidence & reach
Related Issues & PRs:
🥰 Describe the "impact" on users?
It will make developers happier and easy to collaborate with.
🏆 How to solve this problem
💯 How do we validate the problem is solved?
Beta Was this translation helpful? Give feedback.
All reactions