Search code examples
atom-editoreslintnuclide-editor

Nuclide Automatic fix all eslint errors


In Atom-Nuclide for simple errors (indentation, semicolons, const etc) it appears a tooltip with a button to fix it automatically.

enter image description here

This is very useful but still a bit time consuming.

Is there a way to automate it with a command or a macro that simulates clicking on all the fix buttons?


Solution

  • Alt+Shift+A does what you want (default on Linux). The command is called "Nuclide Diagnostics: Fix all errors in current file", I found it using the command-palette.