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

Only run against modified shell files #407

Open
wants to merge 16 commits into
base: master
Choose a base branch
from

Conversation

Pauloparakleto
Copy link

@Pauloparakleto Pauloparakleto commented Mar 9, 2025

Based in #70 and inspired in @anavarre suggestion, only run shellcheck against modified files.
Developers are free to add they own modified files to the .shellcheckrc list, which is considered in the CI. However, by running ./dev-mode, a pre-commit is created and update the shellcheck list automatically.

By running shellcheck only against modified files is a way to balance inheritance and code quality in the long run.

@Pauloparakleto Pauloparakleto marked this pull request as draft March 9, 2025 17:51
@Pauloparakleto Pauloparakleto marked this pull request as ready for review March 11, 2025 15:47
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

Successfully merging this pull request may close these issues.

1 participant