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

support using lintstaged for hooks #604

Open
xenoterracide opened this issue Sep 6, 2022 · 0 comments
Open

support using lintstaged for hooks #604

xenoterracide opened this issue Sep 6, 2022 · 0 comments

Comments

@xenoterracide
Copy link

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.

@xenoterracide xenoterracide changed the title support using lintstaged support using lintstaged for hooks Sep 6, 2022
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

No branches or pull requests

1 participant