question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Formatter reverts from 3rd party module to simple-detail during watch

See original GitHub issue

Environment

  • Node Version: 7.7.0
  • Eslint-Watch Version: 3.0.0
  • Eslint Version: 3.15.0

Basic Description of the problem

ESLint watch seems to “forget” which formatter to use. I am trying to set the formatter to Sindre Sorhus’s nice https://github.com/sindresorhus/eslint-formatter-pretty. It’s a slightly different version of the simple-detail formatter baked into esw, based on earlier work by Sindre. However, while the formatter appears correctly for the first pass of the lint, it reverts to simple-detail thereafter.

How to reproduce it

node_modules/.bin/esw --ignore-path .gitignore -f node_modules/eslint-formatter-pretty --watch

Debug output:

Running with DEBUG=* produces thousands of lines. Are you sure you want them?

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:2
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
rizowskicommented, Mar 5, 2017

This has been released with v3.0.1

1reaction
rizowskicommented, Mar 3, 2017

A Fix was merged into master. I have a few things I am going to add with this release and publish the fix.

Read more comments on GitHub >

github_iconTop Results From Across the Web

logging — Logging facility for Python — Python 3.11.1 ...
Formatters specify the layout of log records in the final output. Logger Objects¶. Loggers have the following attributes and methods. Note that Loggers...
Read more >
NGINX 3rd Party Modules
Module Description Repository Accept Language Module Accept‑Language header parser giom/nginx_acc... AFCGI Asynchronous/multiplexing FastCGI for NGINX rsms/afcgi HTTP Digest Authentication HTTP Digest Authentication atomx/nginx‑htt...
Read more >
Deno Tutorial #4 - 3rd Party Modules - YouTube
Hey gang, in this deno tutorial we'll take a look at a few of te 3rd - part modules we have.--- Chapters ---0.00...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found