You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: no_done_callback.rs
    path of file: ./repos/biome/crates/biome_js_analyze/src/analyzers/nursery
    
    the code of the file until where you have to start completion: use biome_analyze::{
    context::RuleContext, declare_rule, Ast, Rule, RuleDiagnostic, RuleSource, RuleSourceKind,
};
use biome_console::markup;
use biome_js_syntax::{
    AnyJsArrowFunctionParameters, AnyJsBinding, AnyJsExpression, JsCallExpression, JsParameters,
    JsTemplateExpression,
};
use biome_rowan::{AstNode, TextRange};

declare_rule! {
    /// Disallow using a callback in asynchronous tests and hooks.
    ///
    /// T
    
fn analyze_js_parameters(js_parameters: &JsParameters, is_test_each: bool) -> Option<TextRange> {
    let items = js_parameters.items();

    let param = match is_test_each {
        true => items.into_iter().nth(1)?,
        false => items.into_iter().next()?,
    };

    let param = param.ok()?;
    let formal_parameter = param.as_any_js_formal_parameter()?;
    let formal_parameter = formal_parameter.as_js_formal_parameter()?;

    let binding = formal_parameter.binding().ok()?;
    let binding = binding.as_any_js_binding()?;
    let text_range = get_js_binding_range(binding)?;

    Some(text_range)
}