Skip to content

Only run against modified shell files #407

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

Closed

Conversation

Pauloparakleto
Copy link
Contributor

@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
@dhh
Copy link
Member

dhh commented Jul 6, 2025

I've found that I need to do full integration testing before any releasing anyway. So I don't think we actually need this. Appreciate you taking a swing at it, though!

@dhh dhh closed this Jul 6, 2025
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.

2 participants