Harshal Patilhp141.hashnode.dev·Dec 6, 2023ESLint and Enforcing Code QualityThis article aims to guide you through the process of setting up ESLint, a powerful tool for enforcing code style and ensuring consistent and professional-looking code across your projects. Whether you're new to ESLint or looking to enhance your work...Discusseslint
Davide Bellonecode4it.hashnode.dev·Nov 10, 2023Pre-commit hooks with Husky.NET - build, format, and test your .NET application before a Git commitIf you need to run operations before completing a Git commit, you can rely on Git Hooks. Git hooks are scripts that run automatically whenever a particular event occurs in a Git repository. They let you customize Git's internal behaviour and trigger ...DiscussGit
Edet Asuquoeddy.hashnode.dev·Sep 5, 2023Streamlining Git Workflows with Husky: Enforcing Commit Quality with Git HooksIntroduction Maintaining an efficient Git workflow is incredibly important. One of the key aspects of this workflow is ensuring high-quality commits. In this article, we will delve into how you can streamline your Git processes and enforce commit qua...Discuss·20 likes·35 readsGit
Faroque Abdullahfaroque.hashnode.dev·Aug 17, 2023React Application -Project setup before startingWe will set up a React starter project based on developer best practices before writing the code. The full code base is updated on my GitHub. Create React App Create React App (CRA) is a command-line tool that helps you create a React application qui...Discuss·61 readsJavaScript
Darth Byter8bytes8.hashnode.dev·Jul 28, 2023Embracing Code Quality: My Journey with Husky Precommit HooksAs a developer, I am constantly seeking ways to enhance my coding practices and improve the overall quality of my projects. Recently, I stumbled upon a powerful tool called Husky, and little did I know that it would become a game-changer in my develo...Discusshusky
Muhammed Tijanicontigen.hashnode.dev·Jul 21, 2023How to fix 'Git: .husky/pre-commit: 4: npm: not found' errorThe surprise What sorcery is this? I'm just trying to commit code. It's Husky, not this Husky What again! Basically, the Husky configuration can't find the npm executable to run the scripts' commands. it's a path conflict thingy; to check the locati...DiscussGit
Senbagaraman Msenbagaraman04.hashnode.dev·Jun 29, 2023Git Hooks and Proper commitsA commit message is a brief description of the changes made in a commit. It is used to explain the purpose of the changes and to provide context for future reference. A good commit message should be concise, informative, and easy to understand. It sh...Discuss·1 likeGit
Sridhar Maskerisridharmaskeri.hashnode.dev·May 1, 2023Setting up pre-commit hook with husky to automate code formatting🪝Intro ✨ I have a React TypeScript project for which I want to automate code formatting before committing changes to the repo, hence in this tutorial, I will teach you to do the same using husky, lint-staged & prettier. Installing and Setting up Husky...Discuss·59 readsTypeScript
Arindam Chowdhuryarindamchowdhury.hashnode.dev·Mar 24, 2023Setting up Prettier and Husky with Lint-Staged 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...Discuss·68 readsPrettier
Akhil rathipellylets-do-this.hashnode.dev·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·148 readshusky