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 git hooks: do not run ktlint on all files of the current directory #1336

Merged
merged 4 commits into from
Jan 20, 2022

Conversation

francescocervone
Copy link
Contributor

@francescocervone francescocervone commented Jan 13, 2022

Description

Ktlint should run on modified files only.

Fixes #1339

@romtsn romtsn merged commit 376023e into pinterest:master Jan 20, 2022
@romtsn
Copy link
Collaborator

romtsn commented Jan 20, 2022

Thanks, this makes a lot of sense, am not sure how it wasn't caught before 🤦

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.

Make git hooks run ktlint on changed files only
2 participants