---
title: "Discussion on \"Setting up Prettier and Husky with Lint-Staged for Automatic Code Formatting\" | Hashnode"
description: "Discussion on \"Setting up Prettier and Husky with Lint-Staged for Automatic Code Formatting\". Learn how to easily format your code before committing it to your repository using Prettier and Husky using a step by step guide."
url: "https://hashnode.com/posts/setting-up-prettier-and-husky-with-lint-staged-for-automatic-code-formatting/641df16a28827f00280acb02"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Setting up Prettier and Husky with Lint-Staged for Automatic Code Formatting](https://arindamchowdhury.hashnode.dev/setting-up-prettier-and-husky-with-lint-staged-for-automatic-code-formatting?utm_source=hashnode&utm_medium=feed)

Learn how to easily format your code before committing it to your repository using Prettier and Husky using a step by step guide.

Mar 24, 2023 · 3 min read · arindamchowdhury.hashnode.dev  
Updated Aug 22, 2023  
Read the article

-   [#prettier](https://hashnode.com/tag/prettier)
-   [#husky](https://hashnode.com/tag/husky)
-   [#formatting](https://hashnode.com/tag/formatting)
-   [#git-pre-commit](https://hashnode.com/tag/git-pre-commit)

## Written by

[Arindam Chowdhury](https://hashnode.com/@arindam1997)

@arindam1997

  
[View profile](https://hashnode.com/@arindam1997)

Frontend Developer | ReactJS

I am a Frontend Developer from India. I have 4+ years of experience in React JS, and I will continue to share beginner friendly blogs.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
