#git

Run ESLint on git commit with Husky and Lint Staged

Published by Prabin Poudel 6 min read
cover: Run ESLint on git commit with Husky and Lint Staged
How do you make sure every member in your team follows best coding practices and never commits code with issues to remote repository? Answer is using Husky package and git hooks. You can configure Husky to run ESLint on modified codes before committing those code to git.

Remove files or folders from remote git

Published by Prabin Poudel 2 min read
cover: Remove files or folders from remote git
After pushing the code to the remote repository; Did I just push IDE related folder? What about that file containing sensitive information? I have been at the same spot and you can easily remove that file or folder!