Skip to content

Commit 25eb3f9

Browse files
matthiaskdr-rompecabezas
authored andcommitted
Enable the noUselessElse rule
1 parent 50c1314 commit 25eb3f9

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

biome.json

-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
"style": {
1919
"noArguments": "off",
2020
"noParameterAssign": "off",
21-
"noUselessElse": "off",
2221
"useTemplate": "off"
2322
},
2423
"suspicious": {

debug_toolbar/static/debug_toolbar/js/timer.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,8 @@ function insertBrowserTiming() {
99
return (
1010
((performance.timing[stat] - timingOffset) / totalTime) * 100.0
1111
);
12-
} else {
13-
return 0;
1412
}
13+
return 0;
1514
}
1615
function getCSSWidth(stat, endStat) {
1716
let width = 0;

0 commit comments

Comments
 (0)