From febff4fa657081377aa3a5e28eb8606eb1f31dd8 Mon Sep 17 00:00:00 2001 From: wagnermoreira Date: Sat, 9 Sep 2023 11:23:39 -0300 Subject: [PATCH 1/2] chore: update links, the previous were broken --- crates/biome_cli/src/commands/init.rs | 2 +- .../tests/snapshots/main_commands_init/creates_config_file.snap | 2 +- ...tes_config_file_when_rome_installed_via_package_manager.snap | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/biome_cli/src/commands/init.rs b/crates/biome_cli/src/commands/init.rs index 4280e287b8e5..4e6dfd751119 100644 --- a/crates/biome_cli/src/commands/init.rs +++ b/crates/biome_cli/src/commands/init.rs @@ -17,7 +17,7 @@ pub(crate) fn init(mut session: CliSession) -> Result<(), CliDiagnostic> { ""Next Steps "{HorizontalLine::new(109)}" ""1."" ""Setup an editor extension"" - Get live errors as you type and format when you save. Learn more: ""https://biomejs.dev/editors"" + Get live errors as you type and format when you save. Learn more: ""https://biomejs.dev/guides/getting-started#editor-setup"" ""2."" ""Try a command"" ""biome ci"" checks for lint errors and verifies formatting. Run " "biome --help"" for a full list of commands and options. diff --git a/crates/biome_cli/tests/snapshots/main_commands_init/creates_config_file.snap b/crates/biome_cli/tests/snapshots/main_commands_init/creates_config_file.snap index f2c3cd7c58a6..6a890a6a6485 100644 --- a/crates/biome_cli/tests/snapshots/main_commands_init/creates_config_file.snap +++ b/crates/biome_cli/tests/snapshots/main_commands_init/creates_config_file.snap @@ -31,7 +31,7 @@ Files created ━━━━━━━━━━━━━━━━━━━━━━ Next Steps ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1. Setup an editor extension - Get live errors as you type and format when you save. Learn more: https://biomejs.dev/editors + Get live errors as you type and format when you save. Learn more: https://biomejs.dev/guides/getting-started#editor-setup 2. Try a command biome ci checks for lint errors and verifies formatting. Run biome --help for a full list of commands and options. diff --git a/crates/biome_cli/tests/snapshots/main_commands_init/creates_config_file_when_rome_installed_via_package_manager.snap b/crates/biome_cli/tests/snapshots/main_commands_init/creates_config_file_when_rome_installed_via_package_manager.snap index 7cb8264e58cb..f00ac43aeda6 100644 --- a/crates/biome_cli/tests/snapshots/main_commands_init/creates_config_file_when_rome_installed_via_package_manager.snap +++ b/crates/biome_cli/tests/snapshots/main_commands_init/creates_config_file_when_rome_installed_via_package_manager.snap @@ -38,7 +38,7 @@ Files created ━━━━━━━━━━━━━━━━━━━━━━ Next Steps ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1. Setup an editor extension - Get live errors as you type and format when you save. Learn more: https://biomejs.dev/editors + Get live errors as you type and format when you save. Learn more: https://biomejs.dev/guides/getting-started#editor-setup 2. Try a command biome ci checks for lint errors and verifies formatting. Run biome --help for a full list of commands and options. From ec44c70c6f7ad367b70628b8bf079bc53421f1d6 Mon Sep 17 00:00:00 2001 From: wagnermoreira Date: Sat, 9 Sep 2023 11:51:14 -0300 Subject: [PATCH 2/2] chore: update link to the config page, the previous was broken --- crates/biome_cli/src/commands/init.rs | 2 +- .../tests/snapshots/main_commands_init/creates_config_file.snap | 2 +- ...tes_config_file_when_rome_installed_via_package_manager.snap | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/biome_cli/src/commands/init.rs b/crates/biome_cli/src/commands/init.rs index 4e6dfd751119..e376bdb5f663 100644 --- a/crates/biome_cli/src/commands/init.rs +++ b/crates/biome_cli/src/commands/init.rs @@ -12,7 +12,7 @@ pub(crate) fn init(mut session: CliSession) -> Result<(), CliDiagnostic> { ""Files created "{HorizontalLine::new(106)}" - ""- ""biome.json: ""Your project configuration. Documentation: ""https://biomejs.dev/configuration"" + ""- ""biome.json: ""Your project configuration. Documentation: ""https://biomejs.dev/reference/configuration"" ""Next Steps "{HorizontalLine::new(109)}" diff --git a/crates/biome_cli/tests/snapshots/main_commands_init/creates_config_file.snap b/crates/biome_cli/tests/snapshots/main_commands_init/creates_config_file.snap index 6a890a6a6485..7811261240e7 100644 --- a/crates/biome_cli/tests/snapshots/main_commands_init/creates_config_file.snap +++ b/crates/biome_cli/tests/snapshots/main_commands_init/creates_config_file.snap @@ -26,7 +26,7 @@ Welcome to Biome! Let's get you started... Files created ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ - - biome.json: Your project configuration. Documentation: https://biomejs.dev/configuration + - biome.json: Your project configuration. Documentation: https://biomejs.dev/reference/configuration Next Steps ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ diff --git a/crates/biome_cli/tests/snapshots/main_commands_init/creates_config_file_when_rome_installed_via_package_manager.snap b/crates/biome_cli/tests/snapshots/main_commands_init/creates_config_file_when_rome_installed_via_package_manager.snap index f00ac43aeda6..24b003d0fe5f 100644 --- a/crates/biome_cli/tests/snapshots/main_commands_init/creates_config_file_when_rome_installed_via_package_manager.snap +++ b/crates/biome_cli/tests/snapshots/main_commands_init/creates_config_file_when_rome_installed_via_package_manager.snap @@ -33,7 +33,7 @@ Welcome to Biome! Let's get you started... Files created ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ - - biome.json: Your project configuration. Documentation: https://biomejs.dev/configuration + - biome.json: Your project configuration. Documentation: https://biomejs.dev/reference/configuration Next Steps ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━