Open johnaohara opened 1 month ago
@johnaohara If you want to proper utilize this dep.. then pre-commit hooks can help us in order to format horreum-web module codebase.
Hi @shivam-sharma7, hope you are well! thanks for the input. This issue was opened because we are not using this dependency atm. We have just re-introduced code formatting on the java part of the project with an auto-formatter that is tied to the build lifecycle: https://github.com/Hyperfoil/Horreum/commit/285ec5168fb115185260e689c1abd20634727863
I opened this issue with the intention of reviewing whether we can use the new formatter with the .TS code as well.
We have had problems in the past with git hooks working transparently across all envs (win,linux, macos) and was hoping we could tie it into the maven build lifecycle
Hi @shivam-sharma7, hope you are well!
@johnaohara I'm good, what about you?
I opened this issue with the intention of reviewing whether we can use the new formatter with the .TS code as well.
If you can format TS code via new formatter then prettier
no longer needed
We have had problems in the past with git hooks working transparently across all envs (win,linux, macos) and was hoping we could tie it into the maven build lifecycle
Yeah, I remember
Describe the bug
Horreum-web module imports the
prettier
dependency, which is referenced in theprettier-format
scriptReview usage of the dependency to determine if it is used, whether is should be used, removed or replaced