Add tests & linters, choose a style guide to follow, use Husky to add git hooks and it will check your code before every commits/pushes.
I do this even if the project is small to get good at making the code cleaner every time I touch it. In Javascript world things changed rapidly, I make sure to be ready for any changes with high test coverage & clean codebase. I have no fear if I replace Redux with Recoil (or replace all JS with TS) if my tests still passes, for instance. I like to see the project "grow" with me, as a developer :)
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Add tests & linters, choose a style guide to follow, use Husky to add git hooks and it will check your code before every commits/pushes.
I do this even if the project is small to get good at making the code cleaner every time I touch it. In Javascript world things changed rapidly, I make sure to be ready for any changes with high test coverage & clean codebase. I have no fear if I replace Redux with Recoil (or replace all JS with TS) if my tests still passes, for instance. I like to see the project "grow" with me, as a developer :)