Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Currently the complete
options
map is printed each time the CLI is invoked and there is no way to avoid that.In certain usage patterns -- e.g. a Makefile that lints each file independently so we only need to lint the files that have changed -- this creates a lot of noise.
This PR just removes that single
console.log
line.I'm guessing this is essentially debugging code that was never removed.
But if this is intentional and you want to keep the console.log can we at least add some kind of flag that would enable/disable this output?
Personally I'd make the don't-print-the-options-map the default setting and use
--debug
or whatever to turn this on when wanted, but something like--quiet
or--dont-print-options
or whatever would work fine too.(If you really want I could create a PR for the flag-controlled version, it's pretty straightforward either way.)