All apps/ESLint

ESLint

eslint

Pluggable JavaScript linter.

Runs as eslint|macOS, Linux, Windows|eslint.org

Command form

ai-draft · 2 tasks · 10 fields

Lint files or directories and optionally fix problems. Plugin, parser and rule overrides are left out.

Opens the form; the finished command lands at your prompt, unrun
otty gui eslint
Lint filesExample values, fixed in this page — nothing here reaches a terminal
Basic
Files, directories or globs*
any
Errors only
--quiet
Advanced
Max warnings
integer
Output format
string
TasksEach one presets the form for one job
Lint
targetsquietformatmax_warnings
Lint and fix
targetsfixquiet
ParametersOnly these flags are editable in the form
Files, directories or globs
path · positional 0 · repeatable
Fix problems
boolean
--fix
Fix without saving
boolean
--fix-dry-run
Errors only
boolean
--quiet
Max warnings
integer
--max-warnings
Output format
string
--format-fstylishjsoncompactunixhtml
Config file
path
--config-c
File extensions
string
--ext
Cache results
boolean
--cache
Report file
path
--output-file-o
SourcesEvery flag above is checked against these
fig
completion

github.com

Before it fills your prompt, Otty checks the installed eslint against its version. A form that does not match your version is not offered.