Lint on precommit Git hook made easy

Lint on precommit Git hook made easy

This post involves setting up eslint, stylelint, husky and lint-staged to ensure you lint on precommit git hook. Less than 5 mins of setup that will automate linting and make it a part of your daily development process. If you are unfamiliar with the libraries that will be used, lets quickly see what each one of them does. Libraries Used and What they do ESlint […]

Read Me Leave comment

Create Global gitconfig and Setup git alias

Create Global gitconfig and Setup git alias

Developers using GIT as their Source Version Control know the troubles in setting it up for new projects. Getting more productive needs setting up of user credentials, alias’ and other git configurations for every new project. But what if you could have a global git configuration to avoid redundant tasks? That’s where global gitconfig comes in. Git does not automatically create the global .gitconfig file […]

Read Me 2 Comments

Setup Git prompt step by step

Setup Git prompt step by step

While using GIT, isn’t it pretty often that you need to keeping checking what branch you are currently on, or if there is stashed content or not, or if you are ahead/behind of the remote repository and so on ? How about we got this information without having to do a git status or a git stash show each time? Git Prompt to the Rescue! […]

Read Me 6 Comments

Create a Global gitignore

Create a Global gitignore

Each time you set up a project, there’s that dreaded repetitive task of creating a new .gitignore file and adding in all the same files/directories that need to be ignored. This sometimes can get pretty tedious. There are OS-generated files (like .DS_Store, Thumbs.db) or IDE-generated files (like .idea/)  that will always clutter up your repository structure. You could also have dependencies like node_modules, built resources like […]

Read Me 2 Comments