---
title: "Discussion on \"How to automate linting before a git commit\" | Hashnode"
description: "Discussion on \"How to automate linting before a git commit\". Automatically linting your files before a git commit helps in keeping your code base clean and prevents known errors from creeping in. It also helps in keeping the code style consistent making it easier for multiple developers to collaborate on a sin..."
url: "https://hashnode.com/posts/how-to-automate-linting-before-a-git-commit/647b7a6562c98af970e29c99"
---

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

Discussion

# [How to automate linting before a git commit](https://blog.cntechy.com/how-to-automate-linting-before-a-git-commit?utm_source=hashnode&utm_medium=feed)

Automatically linting your files before a git commit helps in keeping your code base clean and prevents known errors from creeping in. It also helps in keeping the code style consistent making it easier for multiple developers to collaborate on a sin...

Jun 3, 2023 · 3 min read · blog.cntechy.com  
Read the article

-   [#typescript](https://hashnode.com/tag/typescript)
-   [#eslint](https://hashnode.com/tag/eslint)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#linting](https://hashnode.com/tag/linting)
-   [#nodejs](https://hashnode.com/tag/nodejs)

## Written by

[Santhosh Sasidharan](https://hashnode.com/@santhoshss)

@santhoshss · Canada

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
