From 53e2e8674b473e489d59b32e61cea4be30289c96 Mon Sep 17 00:00:00 2001 From: Victorien Elvinger Date: Fri, 25 Oct 2024 13:04:56 +0200 Subject: [PATCH] docs(useFilenamingConvention): add `Since ` for the match option (#4382) --- .../src/lint/style/use_filenaming_convention.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/biome_js_analyze/src/lint/style/use_filenaming_convention.rs b/crates/biome_js_analyze/src/lint/style/use_filenaming_convention.rs index 49cd4525bce1..05bb22563c42 100644 --- a/crates/biome_js_analyze/src/lint/style/use_filenaming_convention.rs +++ b/crates/biome_js_analyze/src/lint/style/use_filenaming_convention.rs @@ -65,13 +65,13 @@ declare_lint_rule! { /// /// The rule provides several options that are detailed in the following subsections. /// - /// ```json + /// ```json5 /// { /// "//": "...", /// "options": { /// "strictCase": false, /// "requireAscii": true, - /// "match": "%?(.+?)[.](.+)", + /// "match": "%?(.+?)[.](.+)", // Since v2.0.0 /// "filenameCases": ["camelCase", "export"] /// } /// } @@ -100,7 +100,7 @@ declare_lint_rule! { /// /// **This option will be turned on by default in Biome 2.0.** /// - /// ### match + /// ### match (Since v2.0.0) /// /// `match` defines a regular expression that the filename must match. /// If the regex has capturing groups, then the first capture is considered as the filename