deno fmt [files...]

Format source files

Arguments

NameDescription
filesfilepaths

Options

NameDescription
-c, --config [config]Specify the configuration file
--ext [ext]Set standard input (stdin) content type
--ignore [ignore]Ignore formatting particular source files
--options-line-width [options-line-width]Define maximum line width. Defaults to 80
--options-indent-width [options-indent-width]Define indentation width. Defaults to 2
--options-prose-wrap [options-prose-wrap]Define how prose should be wrapped. Defaults to always
-L, --log-level [log-level]Set log level
--no-configDisable automatic loading of the configuration file
--checkCheck if the source files are formatted
--watchWatch for file changes and restart automatically
--no-clear-screenDo not clear terminal screen when under watch mode
--options-use-tabsUse tabs instead of spaces for indentation. Defaults to false
--options-single-quoteUse single quotes. Defaults to false
-h, --helpPrint help information
--unstableEnable unstable features and APIs
-q, --quietSuppress diagnostic output