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

fix: set project.git = true in scalafmt settings #2932

Merged
merged 2 commits into from
Dec 22, 2023

Conversation

ckipp01
Copy link
Collaborator

@ckipp01 ckipp01 commented Dec 22, 2023

This ensures that if someone is using scalafmt via the CLI that it
correctly knows to ignore Scala files that are also ignored via git.
Without this locally when I used scalafmt from the command line I got
a ton of undesired changes.

This ensures that if someone is using `scalafmt` via the CLI that it
correctly knows to ignore Scala files that are also ignored via git.
Without this locally when I used `scalafmt` from the command line I got
a ton of undesired changes.
Copy link
Member

@lefou lefou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense. Thank you!

@lefou lefou merged commit 978412d into com-lihaoyi:main Dec 22, 2023
36 checks passed
@lefou lefou added this to the 0.11.7 milestone Dec 22, 2023
@ckipp01 ckipp01 deleted the scalafmtGit branch December 22, 2023 16:43
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.

None yet

2 participants