Skip to content

Commit b19e4ab

Browse files
committed
docs: modify examples code of changeset
1 parent 3bf0689 commit b19e4ab

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.changeset/mighty-regions-begin.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
---
44

55
Added the rule [noExcessiveLinesPerFunction](https://biomejs.dev/linter/rules/no-excessive-lines-per-function/).
6-
This rule restrict a maximum number of lines of code in a function.
6+
This rule restrict a maximum number of lines of code in a function body.
77

8-
The following code is now reported as invalid when the limit of maximum lines is set to 4:
8+
The following code is now reported as invalid when the limit of maximum lines is set to 2:
99

1010
```js
1111
function foo() {
@@ -15,7 +15,7 @@ function foo() {
1515
}
1616
```
1717

18-
The following code is now reported as valid when the limit of maximum lines is set to 4:
18+
The following code is now reported as valid when the limit of maximum lines is set to 3:
1919

2020
```jsx
2121
const bar = () => {

0 commit comments

Comments
 (0)