You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
although I can add the precommit instructions to our .huskyrc I'd really like to just be able to run ./gradlew ktlintFormat in my lintstagedrc. https://github.com/okonet/lint-staged yes I know this is a node tool, but we're using prettier for formatting a lot of things that aren't kotlin, as well as a few other hooks. It does most of the work done in the hook for you. It's possible this is already possible just not documented.
The text was updated successfully, but these errors were encountered:
xenoterracide
changed the title
support using lintstaged
support using lintstaged for hooks
Sep 6, 2022
although I can add the precommit instructions to our
.huskyrc
I'd really like to just be able to run./gradlew ktlintFormat
in my lintstagedrc. https://github.com/okonet/lint-staged yes I know this is a node tool, but we're using prettier for formatting a lot of things that aren't kotlin, as well as a few other hooks. It does most of the work done in the hook for you. It's possible this is already possible just not documented.The text was updated successfully, but these errors were encountered: