akai-org / planer-podrozy

8 stars 0 forks source link

Husky and lint-staged linting automate tools on pre-commit event #114

Open PixelSculptor opened 1 year ago

PixelSculptor commented 1 year ago

This PR adds 2 automate tools:

When you edit files in ui/src that have .js, .jsx or scss extension and then add to stage, all these files will be checked and linted automatically before commit, if eslint detects something wrong, then throws an error and thanks to this we will not push rubbish code and commits and we will fix all before extending our history of repo.