deno/tests/specs/fmt
David Sherret ea419a6e39
Some checks are pending
ci / pre-build (push) Waiting to run
ci / bench release linux-x86_64 (push) Blocked by required conditions
ci / lint debug macos-x86_64 (push) Blocked by required conditions
ci / lint debug windows-x86_64 (push) Blocked by required conditions
ci / test debug linux-x86_64 (push) Blocked by required conditions
ci / test release linux-x86_64 (push) Blocked by required conditions
ci / test debug macos-x86_64 (push) Blocked by required conditions
ci / test release macos-x86_64 (push) Blocked by required conditions
ci / test debug windows-x86_64 (push) Blocked by required conditions
ci / test release windows-x86_64 (push) Blocked by required conditions
ci / build libs (push) Blocked by required conditions
ci / publish canary (push) Blocked by required conditions
ci / test debug linux-aarch64 (push) Blocked by required conditions
ci / test release linux-aarch64 (push) Blocked by required conditions
ci / test debug macos-aarch64 (push) Blocked by required conditions
ci / test release macos-aarch64 (push) Blocked by required conditions
ci / lint debug linux-x86_64 (push) Blocked by required conditions
feat(BREAKING/fmt): prompt or require deno fmt . when providing no files and no config files discovered (#30623)
When running `deno fmt` with no input paths with no deno.json or
package.json:

* In tty environments, prompts for confirmation.
* In non-tty environments, errors without providing the current
directory (`deno fmt .`).

The reason for this is we had too many complaints of people accidentally
running `deno fmt` in a directory that wasn't a JS project.
2025-09-08 14:28:47 -04:00
..
astro_file_with_css_comment feat(BREAKING/fmt): prompt or require deno fmt . when providing no files and no config files discovered (#30623) 2025-09-08 14:28:47 -04:00
css fix(fmt): --check was broken for CSS, YAML and HTML (#25848) 2024-09-24 15:54:48 +02:00
default_ts fix: don't include extensionless files in file collection for lint & fmt by default (#25721) 2024-09-19 11:25:48 +02:00
external_formatter feat(fmt): add support for .xml, .svg and .mustache files (#29851) 2025-06-24 17:16:33 +02:00
gitignore feat: fmt and lint respect .gitignore file (#26897) 2024-11-18 23:54:28 +01:00
html fix(fmt): handle TS as syntax in Svelte each block (#29789) 2025-06-17 20:10:06 +02:00
ignore_unexplicit_files feat(fmt/lint): add --permit-no-files (#28753) 2025-04-15 17:57:34 +00:00
mustache feat(fmt): add support for .xml, .svg and .mustache files (#29851) 2025-06-24 17:16:33 +02:00
njk feat(BREAKING/fmt): prompt or require deno fmt . when providing no files and no config files discovered (#30623) 2025-09-08 14:28:47 -04:00
no_error_deno_dir_not_exists fix: prevent cache db errors when deno_dir not exists (#23168) 2024-04-01 18:58:52 -04:00
non_workspace feat(BREAKING/fmt): prompt or require deno fmt . when providing no files and no config files discovered (#30623) 2025-09-08 14:28:47 -04:00
parse_error fix: upgrade to swc_ecma_parser 23 (#30564) 2025-08-29 15:36:36 -04:00
sql feat(BREAKING/fmt): prompt or require deno fmt . when providing no files and no config files discovered (#30623) 2025-09-08 14:28:47 -04:00
strip_bom feat(BREAKING/fmt): prompt or require deno fmt . when providing no files and no config files discovered (#30623) 2025-09-08 14:28:47 -04:00
svg feat(fmt): add support for .xml, .svg and .mustache files (#29851) 2025-06-24 17:16:33 +02:00
unstable_component feat(BREAKING/fmt): prompt or require deno fmt . when providing no files and no config files discovered (#30623) 2025-09-08 14:28:47 -04:00
vento feat(BREAKING/fmt): prompt or require deno fmt . when providing no files and no config files discovered (#30623) 2025-09-08 14:28:47 -04:00
workspace feat: npm workspace and better Deno workspace support (#24334) 2024-07-04 00:54:33 +00:00
xml feat(fmt): add support for .xml, .svg and .mustache files (#29851) 2025-06-24 17:16:33 +02:00
yaml fix(fmt): use non-zero exit code when formatting fails (#28523) 2025-04-04 14:48:47 +01:00