Skip to content

Precommit: Ktlint runs on unmodified files #787

Description

@hkhan-iengineering

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?

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions