Home Conference Sessions Why You Don't Tr...

Why You Don't Trust Your Linter

Jeroen Engels | GOTO Copenhagen 2022

You need to be signed in to add a collection

A linter is a very useful tool that developers use to find problems in their code and make sure it works correctly. But contrary to compiler errors which are followed to the letter, developers often ignore the errors reported by the linter even though both have the same goal: make sure your code works well. Developers don't actually trust their linter, and a substantial number of developers even stop using them altogether because of that. In this talk, we'll explore the underlying reasons and how to solve them. We'll look at the problem from the design aspect of the tool, as well as from the users' side. We'll talk about: * Why do developers often ignore what the linter reports? * How to communicate errors well? * Why does the linter report false positives, and how to improve them? * How does a language's features impact what the linter reports? * When is it okay to ignore what the linter reports? And how can we do it in a good way? * How to configure the linter?

Share on:
linkedin facebook
Copied!

Transcript

A linter is a very useful tool that developers use to find problems in their code and make sure it works correctly. But contrary to compiler errors which are followed to the letter, developers often ignore the errors reported by the linter even though both have the same goal: make sure your code works well.

Developers don't actually trust their linter, and a substantial number of developers even stop using them altogether because of that. In this talk, we'll explore the underlying reasons and how to solve them. We'll look at the problem from the design aspect of the tool, as well as from the users' side.

We'll talk about:

  • Why do developers often ignore what the linter reports?
  • How to communicate errors well?
  • Why does the linter report false positives, and how to improve them?
  • How does a language's features impact what the linter reports?
  • When is it okay to ignore what the linter reports? And how can we do it in a good way?
  • How to configure the linter?

About the speakers

Jeroen Engels

Jeroen Engels

Author of elm-review

Related topics