macisamuele / language-formatters-pre-commit-hooks

Collection of custom pre-commit hooks.
Apache License 2.0
112 stars 56 forks source link

Support specifying ktlint/ktfmt jar #224

Closed mxr closed 3 months ago

mxr commented 3 months ago

This allows specifying a local jar for ktlint/ktfmt similar to the --google-java-formatter-jar arg

macisamuele commented 3 months ago

Generally happy with the change. Please fix the documentation as it seems that content was copy pasted. Is it possible that changes were not committed?

mxr commented 3 months ago

Nice catch. Updated

codecov[bot] commented 3 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (3b1b3fa) to head (7ac9693). Report is 10 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #224 +/- ## ========================================= Coverage 100.00% 100.00% ========================================= Files 10 10 Lines 334 336 +2 ========================================= + Hits 334 336 +2 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.