File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 3
3
---
4
4
5
5
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 .
7
7
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 :
9
9
10
10
``` js
11
11
function foo () {
@@ -15,7 +15,7 @@ function foo() {
15
15
}
16
16
```
17
17
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 :
19
19
20
20
``` jsx
21
21
const bar = () => {
You can’t perform that action at this time.
0 commit comments