Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
lekoala committed Nov 20, 2024
1 parent d43a408 commit 0cb3136
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@
"linter": {
"enabled": true,
"rules": {
"recommended": true
"recommended": true,
"suspicious": {
"noGlobalIsNan": "off"
}
},
"ignore": [
"noGlobalIsNan"
],
"include": [
"./src/*.js"
]
Expand Down
2 changes: 1 addition & 1 deletion src/data-grid.js
Original file line number Diff line number Diff line change
Expand Up @@ -1472,7 +1472,7 @@ class DataGrid extends BaseElement {
colAvailableWidth,
);
} else {
w = Math.max(parseInt(th.dataset.minWidth), Number.parseInt(th.getAttribute("width")));
w = Math.max(Number.parseInt(th.dataset.minWidth), Number.parseInt(th.getAttribute("width")));
}

setAttribute(th, "width", w);
Expand Down

0 comments on commit 0cb3136

Please sign in to comment.