-
Notifications
You must be signed in to change notification settings - Fork 60
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
Many shellcheck complains #304
Comments
Do we run shellcheck on the CI? |
Yes we do. #75 . Only differential. And some warnings are disabled - https://github.com/dracut-ng/dracut-ng/blob/main/.shellcheckrc |
This is somewhat expected. Once a PR is merged, defects are considered false positives since they went through review. However, maintainers have access to all defects in the Security tab in the GitHub UI. I'm currently working on making differential ShellCheck available as CLI and possibly packaged in distributions (redhat-plumbers-in-action/differential-shellcheck#179, redhat-plumbers-in-action/differential-shellcheck#396). Then you could use it in |
I submitted a bunch of merge requests to address shellcheck complains. Current status: after applying all my open merge requests, there are five SC2086 plus a all (a lot) SC2317 complains left. I'll address the remaining SC2086 soon. Then only SC2317 will be left. So |
I submitted some more merge requests to address shellcheck complains. Current status: Only four SC2317 complains left. |
All shellcheck complains are fixed now. |
Running
make syncheck
on Ubuntu 24.04 on the source code shows a lot of shellcheck complains, including:Remaining output after disabling those two:
The text was updated successfully, but these errors were encountered: