Open dinmukhamedm opened 1 week ago
@dinmukhamedm Can I work on this? I never added a pre-commit hook before, this looks something new to me. I would like to work on this.
/assign
Sure, you can. Ideally, I would like that nobody has to install the pre-commit
cli command, especially for it's downloaded from pip... @lucky29-git Let's work together to check if it's enough to install it once when creating/testing the hooks, but not when using them
Sure @dinmukhamedm, let me do some research, I will get back to you soon on this.
We need to add a pre-commit hook to lint the code in order to avoid having to recommit just the lints. This might be especially frustrating for outside contributors.
Here's a couple good guides:
Note: we probably just need eslint, and maybe optionally prettier