diff --git a/crates/oxc_linter/src/config/settings/jsx_a11y.rs b/crates/oxc_linter/src/config/settings/jsx_a11y.rs index e2744ee5ba8c3..96038b9d4a397 100644 --- a/crates/oxc_linter/src/config/settings/jsx_a11y.rs +++ b/crates/oxc_linter/src/config/settings/jsx_a11y.rs @@ -29,7 +29,7 @@ pub struct JSXA11yPluginSettings { /// To have your custom components be checked as DOM elements, you can /// provide a mapping of your component names to the DOM element name. /// - /// ## Example + /// Example: /// /// ```json /// { diff --git a/crates/oxc_linter/src/config/settings/mod.rs b/crates/oxc_linter/src/config/settings/mod.rs index 0aed87547a34c..e32c7d75822af 100644 --- a/crates/oxc_linter/src/config/settings/mod.rs +++ b/crates/oxc_linter/src/config/settings/mod.rs @@ -15,8 +15,6 @@ use self::{ /// /// Configure the behavior of linter plugins. /// -/// ## Example -/// /// Here's an example if you're using Next.js in a monorepo: /// /// ```json diff --git a/crates/oxc_linter/src/config/settings/next.rs b/crates/oxc_linter/src/config/settings/next.rs index 7e0f1b31e9193..52e00d05b848c 100644 --- a/crates/oxc_linter/src/config/settings/next.rs +++ b/crates/oxc_linter/src/config/settings/next.rs @@ -12,7 +12,7 @@ pub struct NextPluginSettings { /// This is particularly useful when you have a monorepo and your Next.js /// project is in a subfolder. /// - /// ## Example + /// Example: /// /// ```json /// { diff --git a/crates/oxc_linter/src/config/settings/react.rs b/crates/oxc_linter/src/config/settings/react.rs index 0432189c7d2d1..ed42a02931b7f 100644 --- a/crates/oxc_linter/src/config/settings/react.rs +++ b/crates/oxc_linter/src/config/settings/react.rs @@ -12,7 +12,7 @@ use serde::{Deserialize, Serialize}; pub struct ReactPluginSettings { /// Components used as alternatives to `