From 589db1e051a354c9449402210ff58d62a34f0fba Mon Sep 17 00:00:00 2001 From: Emanuele Stoppa Date: Mon, 30 Dec 2024 12:21:29 +0000 Subject: [PATCH] docs: redact incorrect docs --- .../src/lint/correctness/no_unused_variables.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/crates/biome_js_analyze/src/lint/correctness/no_unused_variables.rs b/crates/biome_js_analyze/src/lint/correctness/no_unused_variables.rs index 199a1abacfba..ad974b5f3582 100644 --- a/crates/biome_js_analyze/src/lint/correctness/no_unused_variables.rs +++ b/crates/biome_js_analyze/src/lint/correctness/no_unused_variables.rs @@ -28,9 +28,11 @@ declare_lint_rule! { /// If you want to report unused imports, /// enable [noUnusedImports](https://biomejs.dev/linter/rules/no-unused-imports/). /// - /// From `v1.9.0`, the rule won't check unused function parameters any more. + /// :::caution + /// From `v2.0.0`, the rule won't check unused function parameters any more. /// If you want to report unused function parameters, /// enable [noUnusedFunctionParameters](https://biomejs.dev/linter/rules/no-unused-function-parameters/). + /// ::: /// /// ## Examples ///