From 6ac6f1b9983fb30c2271862729fcff96cdead3dd Mon Sep 17 00:00:00 2001 From: Don Isaac Date: Mon, 19 Aug 2024 14:29:03 -0400 Subject: [PATCH] fix(linter): missing closing ticks in some example blocks --- crates/oxc_linter/src/rules/jest/no_mocks_import.rs | 2 +- crates/oxc_linter/src/rules/jest/no_restricted_jest_methods.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/oxc_linter/src/rules/jest/no_mocks_import.rs b/crates/oxc_linter/src/rules/jest/no_mocks_import.rs index a7baee2d5584a6..3acd4fdb5147d7 100644 --- a/crates/oxc_linter/src/rules/jest/no_mocks_import.rs +++ b/crates/oxc_linter/src/rules/jest/no_mocks_import.rs @@ -27,7 +27,7 @@ declare_oxc_lint!( /// import thing from './__mocks__/index'; /// require('./__mocks__/index'); /// require('__mocks__'); - /// + /// ``` NoMocksImport, style ); diff --git a/crates/oxc_linter/src/rules/jest/no_restricted_jest_methods.rs b/crates/oxc_linter/src/rules/jest/no_restricted_jest_methods.rs index 82e32feac5dd91..2ad91f8df99b88 100644 --- a/crates/oxc_linter/src/rules/jest/no_restricted_jest_methods.rs +++ b/crates/oxc_linter/src/rules/jest/no_restricted_jest_methods.rs @@ -62,7 +62,7 @@ declare_oxc_lint!( /// /// // ... /// }); - /// + /// ``` NoRestrictedJestMethods, style, );