Developer AvocadoforDeveloper Avocado Blogavocadev.hashnode.net·Aug 24, 2022FeaturedSetting up efficient workflows with ESLint, Prettier and HuskyLinting and pretty-printing JavaScript code can help in detecting errors earlier, making code more legible, and improving overall code quality. However, there may be some friction when using a formatter for pretty-printing and a linter. In this artic...Andrew Baisden and 1 other are discussing this2 people are discussing thisDiscuss·60 likes·1.2K readseslint
Raul Naupariforraulnqraulnq.hashnode.net·Nov 14, 2022Husky.Net: Git hooks made easyDuring our day-to-day, usually, there are repetitive tasks we always do: formatting code, running unit tests, following commit policies, etc. Easy tasks, but we make them over and over again, which is a waste of time and effort. Luckily there is a wa...Discuss·34 likes·223 reads.NET
Akhil rathipellyforlets-do-this.hashnode.net·Jan 5, 2023Git Pre-Commit Hook Configuration in ReactjsIntroduction Before exploring the git pre-commit hook configuration, let us find out what we used to do before this every developer has to run the commands in sequential order so that they can able to achieve the code quality. Before: npm run lint ...Discuss·1 like·98 readshusky
Arindam ChowdhuryforArindam's Tech Blogarindamchowdhury.hashnode.net·Mar 24, 2023Setting up Prettier and Husky for Automatic Code FormattingAs developers, we all want our code to be consistent and easy to read. After all, we don't want to read badly formatted code written by others. However, when working in a team or on a large project, maintaining consistent code formatting can be a ch...DiscussPrettier
Akhil rathipellyforlets-do-this.hashnode.net·Jan 5, 2023Git Pre-Commit Hook Configuration in ReactjsIntroduction Before exploring the git pre-commit hook configuration, let us find out what we used to do before this every developer has to run the commands in sequential order so that they can able to achieve the code quality. Before: npm run lint ...Discuss·1 like·98 readshusky
Raul Naupariforraulnqraulnq.hashnode.net·Nov 14, 2022Husky.Net: Git hooks made easyDuring our day-to-day, usually, there are repetitive tasks we always do: formatting code, running unit tests, following commit policies, etc. Easy tasks, but we make them over and over again, which is a waste of time and effort. Luckily there is a wa...Discuss·34 likes·223 reads.NET
Segun AlofunforBanzyworld's blogbanzyworld.hashnode.net·Oct 12, 2022Steps on how to Implement Pre-commit and Pre-push (Husky, Lint-Staged, StyleLint, Pretty-Quick) into a React.js ProjectClean Code Culture Pre-commit and Pre-push hooks are a set of automated commands or scripts that identifies both simple and complicated issues before code submission review. This is so that the code reviewer wouldn't waste time styling or formattin...Discuss·119 readshusky
Murtuzaali SurtiforMurtuza's Blogmurtuza.hashnode.net·Oct 9, 2022Creating Git Hooks Using HuskyHooks in git are nothing but some code which can be executed at specific points during git execution process. They are used to verify everything is as expected before or after executing a git command or action. Some common applications include format...Discuss·74 readsGitHub
Cheryl MforMy Blogcherylm.hashnode.net·Sep 7, 2022Using Husky Pre-commit git hook with prettierHusky allows scripts to run at various git lifecycle events. Here, we want to use the Husky pre-commit hook to run prettier to automatically format the files in the repository on commit. project setup on gitlab: https://gitlab.com/test-projects47/hu...Discuss·40 readsGit
Developer AvocadoforDeveloper Avocado Blogavocadev.hashnode.net·Aug 24, 2022FeaturedSetting up efficient workflows with ESLint, Prettier and HuskyLinting and pretty-printing JavaScript code can help in detecting errors earlier, making code more legible, and improving overall code quality. However, there may be some friction when using a formatter for pretty-printing and a linter. In this artic...Andrew Baisden and 1 other are discussing this2 people are discussing thisDiscuss·60 likes·1.2K readseslint
Jordan HarrisonforJordan's Dev Blogjord.hashnode.net·Aug 18, 2022How to enforce Conventional Commit messages using Git hooks with husky & commitlintIn this guide I will be showing you how to enforce the use of Conventional Commit messages in Git. If you don't know what Conventional Commits are, you can read my other post here. Let's get right into it. Go ahead and open up your repo in Terminal. ...Discuss·44 readsGit
Jose Gabrielle Riveraforjgrivera.devjgrivera.hashnode.net·Jun 18, 2022Properly run tests before pushing to remote repo using huskyForeword I have been playing around with a neat tool called husky for my TypeScript repositories. It allows you to create Git hooks that you could subscribe to. I use it as part of my development tools. I use husky, alongside commitlint, to lint comm...Discuss·62 readsTypeScript
Wisdom GeekforWisdom Geekwisdomgeek.hashnode.net·Jun 5, 2021Enforcing coding standards using husky pre-commit hooksHaving consistency and enforcing coding standards becomes very important as an application scales. It becomes important to automate the process to ensure quality standards and make the application maintainable. ESLint and Prettier can be used to defi...DiscussJavaScript