Replies: 1 comment
-
I do see there is an .editorconfig but I think as the codebase is JavaScript, enforcing code style with Prettier is the way to go. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
As an enhancement, allow consistency in the code and to encourage more people to contribute, I think adding some pre-commit hooks would be amazing.
Adding Husky for the hooks to be configured in code and adding -- at the very least -- Prettier for code consistency would be really useful. It would be fairly trivial to add Prettier. See this URL, under heading Option 1: https://prettier.io/docs/en/precommit.html
An example .prettierrc that would match the current style:
Beta Was this translation helpful? Give feedback.
All reactions