Skip to content

Commit

Permalink
docs: fix incorrect example in no-lone-blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
Tanujkanti4441 committed Mar 17, 2024
1 parent b8fb572 commit 31db263
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/rules/no-lone-blocks.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ This rule aims to eliminate unnecessary and potentially confusing blocks at the

Examples of **incorrect** code for this rule:

::: incorrect
::: incorrect { "sourceType": "script" }

```js
/*eslint no-lone-blocks: "error"*/
Expand Down

0 comments on commit 31db263

Please sign in to comment.