Skip to content

Commit

Permalink
docs(expect,text): remove no-eval directives that appear to be unnecc…
Browse files Browse the repository at this point in the history
…essary (#6333)
  • Loading branch information
finleyjb authored Jan 6, 2025
1 parent c76517a commit 568cc75
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion expect/expect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -608,7 +608,7 @@ expect.not = {
* The last module added is the first module tested.
*
* @example
* ```ts no-eval
* ```ts
* import { expect } from "@std/expect";
* import serializerAnsi from "npm:jest-snapshot-serializer-ansi";
*
Expand Down
2 changes: 1 addition & 1 deletion text/unstable_slugify.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ export const NON_ASCII = /[^0-9a-zA-Z\-]/g;
* ```
*
* @example With transliteration using a third-party library
* ```ts no-eval no-assert
* ```ts no-assert
* import { NON_ASCII, slugify } from "@std/text/unstable-slugify";
* // example third-party transliteration library
* import transliterate from "npm:any-ascii";
Expand Down

0 comments on commit 568cc75

Please sign in to comment.