Why and How JavaScript Developers Use Linters

Kristín Fjóla Tómasdóttir, Mauricio Finavaro Aniche, Arie van Deursen

Research output: Chapter in Book/Conference proceedings/Edited volumeConference contributionScientificpeer-review

31 Citations (Scopus)
578 Downloads (Pure)

Abstract

Automatic static analysis tools help developers to automatically spot code issues in their software. They can be of extreme value in languages with dynamic characteristics, such as JavaScript, where developers can easily introduce mistakes which can go unnoticed for a long time, e.g., a simple syntactic or spelling mistake. Although research has already shown how developers perceive such tools for strongly-typed languages such as Java, little is known about their perceptions when it comes to dynamic languages. In this paper, we investigate what motivates and how developers make use of such tools in JavaScript projects. To that goal, we apply a qualitative research method to conduct and analyze a series of 15 interviews with developers responsible for the linter configuration in reputable OSS JavaScript projects that apply the most commonly used linter, ESLint. The results describe the benefits that developers obtain when using ESLint, the different ways one can configure the tool and prioritize its rules, and the existing challenges in applying linters in the real world. These results have direct implications for developers, tool makers, and researchers, such as tool improvements, and a research agenda that aims to increase our knowledge about the usefulness of such analyzers.
Original languageEnglish
Title of host publicationProceedings of the 32nd IEEE/ACM International Conference on Automated Software Engineering. ASE'17
EditorsGrigore Rosu, Massimiliano Di Penta, Tien N. Nguyen
PublisherIEEE
Pages578-589
Number of pages12
ISBN (Electronic)978-1-5386-2684-9
DOIs
Publication statusPublished - 2017
EventASE 2017: 32nd IEEE/ACM International Conference on Automated Software Engineering - Urbana-Champaign, IL, United States
Duration: 30 Oct 20173 Nov 2017
Conference number: 32
http://ase2017.org/

Conference

ConferenceASE 2017
Abbreviated titleASE'17
Country/TerritoryUnited States
CityUrbana-Champaign, IL
Period30/10/173/11/17
Internet address

Keywords

  • linters
  • software maintenance
  • ASATs
  • static analysis tools

Fingerprint

Dive into the research topics of 'Why and How JavaScript Developers Use Linters'. Together they form a unique fingerprint.

Cite this