Skip to content

Commit eb2b2e2

Browse files
committed
style: fix code style issues reported by oxlint
1 parent 8c973e4 commit eb2b2e2

File tree

5 files changed

+112
-111
lines changed

5 files changed

+112
-111
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,14 @@
2323
"@changesets/cli": "^2.30.0",
2424
"@commitlint/cli": "^20.4.3",
2525
"@commitlint/config-conventional": "^20.4.3",
26-
"@resolid/config": "^5.1.0",
26+
"@resolid/config": "^5.1.1",
2727
"@svitejs/changesets-changelog-github-compact": "^1.2.0",
2828
"@tailwindcss/language-server": "^0.14.29",
2929
"@types/node": "^24.12.0",
3030
"eslint-plugin-react-hooks": "^7.0.1",
3131
"eslint-plugin-react-you-might-not-need-an-effect": "^0.9.2",
3232
"lefthook": "^2.1.3",
33-
"oxfmt": "^0.36.0",
33+
"oxfmt": "^0.37.0",
3434
"oxlint": "^1.52.0",
3535
"typescript": "^5.9.3"
3636
},

packages/react-ui/src/components/pagination/use-pagination.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ export const usePagination = (
9898
);
9999

100100
return [
101-
...[["previous", Math.max(1, currentPage - 1)]],
101+
["previous", Math.max(1, currentPage - 1)],
102102
...startPages,
103103
...(siblingsStart > boundaries + 2
104104
? [["start-ellipsis", Math.max(1, siblingsStart - 1)]]
@@ -112,7 +112,7 @@ export const usePagination = (
112112
? [totalPages - boundaries]
113113
: []),
114114
...endPages,
115-
...[["next", Math.min(totalPages, currentPage + 1)]],
115+
["next", Math.min(totalPages, currentPage + 1)],
116116
].map((pn) =>
117117
isNumber(pn)
118118
? { page: pn, pageType: "page" as PageType, disabled: disabled }

packages/react-ui/src/utils/css/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,6 @@ export const css = (
2323
} else if (isString(b)) {
2424
b = serialize(b);
2525
}
26-
return { ...(a ?? {}), ...(b ?? {}) };
26+
27+
return { ...a, ...b };
2728
};

0 commit comments

Comments
 (0)