Skip to content

Commit a57da61

Browse files
miimraG-Rath
andauthored
docs(valid-expect): use valid inline code for mdx rendering (#1352)
* Update valid-expect.md * Update docs/rules/valid-expect.md Co-authored-by: Gareth Jones <[email protected]> * Update docs/rules/valid-expect.md Co-authored-by: Gareth Jones <[email protected]> --------- Co-authored-by: Gareth Jones <[email protected]>
1 parent 802ed22 commit a57da61

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/rules/valid-expect.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ This rule is enabled by default.
6666
Enforces to use `await` inside block statements. Using `return` will trigger a
6767
warning. Returning one line statements with arrow functions is _always allowed_.
6868

69-
Examples of **incorrect** code for the { "alwaysAwait": **true** } option:
69+
Examples of **incorrect** code for the `{ "alwaysAwait": true }` option:
7070

7171
```js
7272
// alwaysAwait: true
@@ -76,7 +76,7 @@ test('test1', async () => {
7676
});
7777
```
7878

79-
Examples of **correct** code for the { "alwaysAwait": **true** } option:
79+
Examples of **correct** code for the `{ "alwaysAwait": true }` option:
8080

8181
```js
8282
// alwaysAwait: true

0 commit comments

Comments
 (0)