[Feature Request]: Implement ESLint and Prettier &
Closed this issue · 2 comments
danielschuster-muc commented
Project
Website (Potter DB Search)
Describe the feature you want to request
Everyone has different code styles, therefore it would be useful to implement prettier and eslint to have a general code style for Potter DB.
(Optional) Describe a solution for this feature
Install prettier and eslint, configure it for next.js and for compatibility between those.
Options should be default, see here.
Additionally add a git hook to automatically format and lint the files on commiting.
Kit-p commented
Is it okay for me to work on this?
I plan to use husky to manage the pre-commit git hook.
danielschuster-muc commented
Sure, I will assign you.
Husky sounds like a good tool to implement the hook 👍.