---
title: "Discussion on \"Dead code is a git problem before it is a linter problem\" | Hashnode"
description: "Discussion on \"Dead code is a git problem before it is a linter problem\". TL;DR\n\nLinters find unused code inside a file: an unused import, a variable, a private function. A whole file that nothing imports, or code nobody has changed in years, only shows up in the import gra"
url: "https://hashnode.com/posts/dead-code-is-a-git-problem-before-it-is-a-linter-problem/6b0ad3de9dcd62ea0f59329d"
---

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

Discussion

# [Dead code is a git problem before it is a linter problem](https://repowise.hashnode.dev/dead-code-is-a-git-problem-before-it-is-a-linter-problem?utm_source=hashnode&utm_medium=feed)

TL;DR Linters find unused code inside a file: an unused import, a variable, a private function. A whole file that nothing imports, or code nobody has changed in years, only shows up in the import gra

4d ago · 7 min read · repowise.hashnode.dev  
Read the article

-   [#programming](https://hashnode.com/tag/programming)
-   [#discuss](https://hashnode.com/tag/discuss)
-   [#codequality](https://hashnode.com/tag/codequality)
-   [#opensource](https://hashnode.com/tag/opensource)

## Written by

[Raghav Chamadiya](https://hashnode.com/@RaghavChamadiya)

@RaghavChamadiya

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
