1.2.7 • Published 3 years ago

eslint-plugin-log v1.2.7

Weekly downloads
1,109
License
MIT
Repository
github
Last release
3 years ago

eslint-plugin-log npm.io npm.io

👕 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.

npm.io

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:

  • compact
  • stylish
  • unix