From 7b99386071de0aed03af0d088430d2fa5aadd817 Mon Sep 17 00:00:00 2001 From: DonIsaac <22823424+DonIsaac@users.noreply.github.com> Date: Mon, 19 Aug 2024 20:25:14 +0000 Subject: [PATCH] fix(linter): missing closing ticks in some example blocks (#4994) These broken example blocks breaks codegen for the upstream PR in this stack. --- 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 a7baee2d5584a..3acd4fdb5147d 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 82e32feac5dd9..2ad91f8df99b8 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, );