eslint-plugin-log

1.2.7Β β€’Β PublicΒ β€’Β Published

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:

  • compact
  • stylish
  • unix

Package Sidebar

Install

npm i eslint-plugin-log

Weekly Downloads

3,915

Version

1.2.7

License

MIT

Unpacked Size

5.71 kB

Total Files

10

Last publish

Collaborators

  • omrilotan