Skip to content

Commit efaadd3

Browse files
committed
docs(linter): fix a few incorrect backticks in no_restricted_imports (#10914)
closes oxc-project/oxc-project.github.io#361
1 parent 2b5d826 commit efaadd3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

crates/oxc_linter/src/rules/eslint/no_restricted_imports.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ declare_oxc_lint!(
281281
///
282282
/// ```json
283283
/// {"rules: {"no-restricted-imports": ["error", { "paths": ["import1", "import2"] }]}}
284-
/// ``
284+
/// ```
285285
///
286286
/// Examples of **incorrect** code for `paths`:
287287
///
@@ -303,7 +303,7 @@ declare_oxc_lint!(
303303
/// "message": "Please use import-quux instead."
304304
/// }]
305305
/// }]
306-
/// ````
306+
/// ```
307307
///
308308
/// ##### importNames
309309
///
@@ -448,7 +448,7 @@ declare_oxc_lint!(
448448
/// like Lookahead and Lookbehinds.
449449
///
450450
/// Examples of **incorrect** code for `regex` option:
451-
/// ````js
451+
/// ```js
452452
/// /*eslint no-restricted-imports: ["error", { patterns: [{
453453
/// regex: "@app/(api|enums).*",
454454
/// }]}]*/

0 commit comments

Comments
 (0)