Skip to content

Commit e7d3917

Browse files
pathursajafff
authored andcommitted
Fix typo in early-exit documentation (#89)
1 parent 18afb2c commit e7d3917

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/early-exit.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ for (const x of xs) {
5656
}
5757
```
5858

59-
An options object as in `"early-exit": [true, { "max-length": 4 }}` may be provided to configure what makes a block count as "large". The default is 2 lines.
59+
An options object as in `"early-exit": [true, { "max-length": 4 }]` may be provided to configure what makes a block count as "large". The default is 2 lines.
6060

6161
If you set `"max-length"` to `0`, the rule will always suggest an early return, regardless of the line count. For example:
6262

0 commit comments

Comments
 (0)