diff --git a/crates/biome_js_analyze/src/lint/suspicious/no_console.rs b/crates/biome_js_analyze/src/lint/suspicious/no_console.rs index dc1d675fa6ea..989cfe54d3c7 100644 --- a/crates/biome_js_analyze/src/lint/suspicious/no_console.rs +++ b/crates/biome_js_analyze/src/lint/suspicious/no_console.rs @@ -25,6 +25,19 @@ declare_lint_rule! { /// console.error('hello world') /// ``` /// + /// ## Options + /// + /// Use the options to specify the allowed `console` methods. + /// + /// ```json + /// { + /// "//": "...", + /// "options": { + /// "allow": ["assert", "error", "info", "warn"] + /// } + /// } + /// ``` + /// pub NoConsole { version: "1.6.0", name: "noConsole",