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

Precommit: Ktlint runs on unmodified files #787

Open
hkhan-iengineering opened this issue May 10, 2022 · 0 comments
Open

Precommit: Ktlint runs on unmodified files #787

hkhan-iengineering opened this issue May 10, 2022 · 0 comments

Comments

@hkhan-iengineering
Copy link

Ktlint throws errors from unmodified files when running pre-commit. Below is my Ktlint configuration:
Ktlint: problem_on_unmodified_line: report enabled: true description: 'Analyze with Ktlint' required_executable: 'ktlint' install_command: 'brew install ktlint' include: '**/*.kt' flags: []

I searched the Ktlint repository for any flags specific to this issue but couldn't find one, any help?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants