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.

Feature request: hide warnings/errors if they will be auto-fixed

See original GitHub issue

Proposal: Add a new config option eslint.hideAutoFixedIssues.

If eslint.hideAutoFixedIssues and eslint.autoFixOnSave are both true, then do not show the error/warning in the text editor if ESLint suggests a fix. This is helpful when scanning a file, as it makes real errors (such as a typo in a variable name) much more visible.

I’ve got a bit of time coming up and would love to implement this.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:29
  • Comments:17 (7 by maintainers)

github_iconTop GitHub Comments

3reactions
finnpcommented, Aug 8, 2020

Atom has “Ignore fixable rules while typing”. I’m really missing this in VSCode. Would’ve been nice to see that PR merged.

2reactions
dbaeumercommented, Oct 1, 2021

This can now be customized using the new eslint.rules.customizations setting. The setting gives you full control over which severity is used when errors are detected. It also allows to not report an error at all to the UI.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Autofix for eslint/prettier warnings/errors? : r/DoomEmacs
Try using the command (eslintd-fix) and see if it organize your code, and if not, I think that you can look the lsp-log...
Read more >
Feature Requests | React Navigation - Canny
Would like to be able to disable animations when open drawer, open instant without animation (when use DrawerOpen) thanks. 1. 1. Typescript for...
Read more >
Auto-Fix | CodeFactor.io
CodeFactor can fix certain reported issues. This can be done on-demand or automatically. We currently support: - Detekt. - ESLint.
Read more >
PRIMER 18.0 user manual - Oasys software
In addition PRIMER 18.0 provides several specialist features for LS-DYNA analysis. ... Please contact Oasys Ltd if you would like advice about specifying...
Read more >
B: C#やRustからWin32 APIをもっと簡単に呼び出せるように ...
B: C#やRustからWin32 APIをもっと簡単に呼び出せるように ~Microsoft ... B: Feature request: hide warnings/errors if they will be auto-fixed · Issue #267 ...
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