↩ī¸Ž

eslint-plugin-log

👕 ESLint plugin: log the paths of all files being linted

ESLint does not provide a summary of which or how many files have actually been processed.

Automatic updates and misconfiguration can easily lead to false positive results where not all intended files were actually checked.

By including this plugin in an ESLint configuration, a full list of the files being linted will be output, regardless of (and additionally to) actual lint errors.

Install

npm i -D eslint-plugin-log

Include in your ESLint configuration

.eslintrc

{
  "plugins": [
    "log"
  ],
  ...
}

via CLI

eslint --plugin log

Some of ESLint's output formats are structured (XML, HTML, json, etc.). We don't want to break those, so filename logging is omitted from formats except the following: