From 700a0b498798c25b3be8a6683ffbcf20e22503b0 Mon Sep 17 00:00:00 2001 From: Emanuele Stoppa Date: Fri, 3 May 2024 19:08:12 +0100 Subject: [PATCH] docs: add small note about `process.exit` --- .../src/lint/suspicious/no_fallthrough_switch_clause.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crates/biome_js_analyze/src/lint/suspicious/no_fallthrough_switch_clause.rs b/crates/biome_js_analyze/src/lint/suspicious/no_fallthrough_switch_clause.rs index 4715eed48fcd..7b5206e31f7c 100644 --- a/crates/biome_js_analyze/src/lint/suspicious/no_fallthrough_switch_clause.rs +++ b/crates/biome_js_analyze/src/lint/suspicious/no_fallthrough_switch_clause.rs @@ -19,6 +19,8 @@ declare_rule! { /// Switch clauses in `switch` statements fall through by default. /// This can lead to unexpected behavior when forgotten. /// + /// > The rule doesn't take `process.exit()` in consideration. + /// /// ## Examples /// /// ### Invalid