eslint-config-pop

Eslint configuration with the most popular configurations found in the npm registry

Description

We went ahead and download top projects from the npm registry that make use of EsLint. We ended up with a total of 388 individual repositories.

Our goal is to find which are the most popular option done by developers for the EsLint configuration fields. The fields are:

  • extends
  • env
  • plugins
  • parserOptions
  • parser
  • rules
  • ecmaFeatures
  • overrides
  • settings
  • globals

A field may appear in the configuration or not. In the latter case, it means that the default configuration given by the EsLint Configuration is used. We counted how many times each field appeared. We then found out all the possible configurations a field can take and counted their appearences as well.

Finally, we were able to create out own configurations files (.eslintrc.json) with the most popular options between developers.

Tech Stack

javascript npm node.jseslint

Links

GitHub