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

Exclude generated files from formatKotlinMain #548

Merged
merged 1 commit into from
Aug 19, 2024
Merged

Exclude generated files from formatKotlinMain #548

merged 1 commit into from
Aug 19, 2024

Conversation

hamen
Copy link
Collaborator

@hamen hamen commented Aug 16, 2024

This PR iterates on the exclude configuration for formatKotlinMain to properly ignore generated files on Windows.

The following image shows the console output with the linter trying to reformat a generated file:
image

Although this is not an issue per itself because git ignores those files anyway, we can save time during development.

This also seems to help with the glitch I was having when running the Pre-push task on Windows.

@hamen hamen added the maintenance Rote maintenance tasks (e.g., dependency updates) label Aug 16, 2024
@hamen hamen self-assigned this Aug 16, 2024
@hamen hamen linked an issue Aug 16, 2024 that may be closed by this pull request
@rock3r rock3r merged commit 3541805 into main Aug 19, 2024
3 checks passed
@rock3r rock3r deleted the im-547 branch August 19, 2024 07:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance Rote maintenance tasks (e.g., dependency updates)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Properly ignore generated files during formatKotlinMain
2 participants