Run linters on demand

As of 2025, is there a way to run ESLint on-demand, not as-you-type/live, and see the warnings and errors in the IDE?

There have been requests for this feature since 2016 (or 2015 on SO), and WebStorm got a bit slower since then. If this is still not possible, is there a feature request for it?

To clarify, for performance reasons on a large monorepo, I would like to disable running ESLint as I type, but still be able to run it on occasion, e.g. before commits, and see the results as usual, underlining problematic code, or at least as a list of issues in the Problems pane.

Another use case is to run a fast linter (Biome, Deno) as-you-type, and a comprehensive but much slower linter (e.g. typescript-eslint) on demand.

1
3 comments

if you don't like to see the ESLint errors in the editor on the fly, I'd suggest disabling the ESLint support in Preferences | Languages & Frameworks | JavaScript | Code Quality Tools | ESLint and setting up eslint --fix as a file watcher in Preferences | Tools | File Watchers. To get the command only triggered on Save, make sure that the Auto-save edited files to trigger the watcher checkbox is disabled.

If you don't like it to be triggered on Save, you can set it up as an external tool to be run on demand only.

0

Correct, I don't want to see the ESLint errors in the editor on the fly; I want to see them on demand, in the editor.

If I set up ESLint as a file watcher or external tool, I'll only see its output in the terminal, not in the editor, right?

0

Please sign in to leave a comment.