I am getting the following error when running overcommit after signing it.
Analyze with JavaCheckStyle..........................[JavaCheckstyle] FAILED
'checkstyle' is not installed, not in your PATH, or does not have execute permissions
Analyze with KtLint..........................................[Ktlint] FAILED
'ktlint' is not installed, not in your PATH, or does not have execute permissions
Following is my yaml file configuration for both the hooks:
PreCommit: JavaCheckstyle: enabled: true on_warn: fail # Treat all warnings as failures description: 'Analyze with JavaCheckStyle' required_executable: 'checkstyle' Ktlint: enabled: true on_warn: fail # Treat all warnings as failures description: 'Analyze with KtLint' required_executable: 'ktlint'
I am getting the following error when running overcommit after signing it. Analyze with JavaCheckStyle..........................[JavaCheckstyle] FAILED 'checkstyle' is not installed, not in your PATH, or does not have execute permissions Analyze with KtLint..........................................[Ktlint] FAILED 'ktlint' is not installed, not in your PATH, or does not have execute permissions
Following is my yaml file configuration for both the hooks:
PreCommit: JavaCheckstyle: enabled: true on_warn: fail # Treat all warnings as failures description: 'Analyze with JavaCheckStyle' required_executable: 'checkstyle' Ktlint: enabled: true on_warn: fail # Treat all warnings as failures description: 'Analyze with KtLint' required_executable: 'ktlint'
Any help on this?