All apps/Rome

Rome

rome

Linter and formatter toolchain for JavaScript and TypeScript.

Runs as rome|macOS, Linux, Windows

Command form

ai-draft · 4 tasks · 15 fields

Lint and format files. ci, init and daemon commands are not covered.

Opens the form; the finished command lands at your prompt, unrun
otty gui rome

rome check

Lint files
Lint filesExample values, fixed in this page — nothing here reaches a terminal
Basic
Files or directories*
any
TasksEach one presets the form for one job
Lint
paths
Lint and apply safe fixes
pathsapply
ParametersOnly these flags are editable in the form
Files or directories
path · positional 0 · repeatable
Max diagnostics
integer
--max-diagnostics
Verbose advice
boolean
--verbose
Apply safe fixes
boolean
--apply
Apply safe and unsafe fixes
boolean
--apply-unsafe

rome format

Format files
Format filesExample values, fixed in this page — nothing here reaches a terminal
Basic
Files or directories*
any
TasksEach one presets the form for one job
Preview formatting diff
paths
Format in place
pathswrite
ParametersOnly these flags are editable in the form
Files or directories
path · positional 0 · repeatable
Max diagnostics
integer
--max-diagnostics
Verbose advice
boolean
--verbose
Write changes in place
boolean
--write
Indent style
enum
--indent-styletabsspace
Indent size
integer
--indent-size
Line width
integer
--line-width
Quote style
enum
--quote-stylesingledouble
Trailing commas
enum
--trailing-commaalles5none
Semicolons
enum
--semicolonsalwaysas-needed
SourcesEvery flag above is checked against these
src
completion

github.com

src
completion

github.com

src
completion

github.com

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