diff options
| author | xuatz <xzlow10@gmail.com> | 2025-06-22 20:29:30 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-22 12:29:30 +0100 |
| commit | d5e2973dce617f451e4eb07491b3a6874ea6ca47 (patch) | |
| tree | 9e134ac8c0b263cec755068082ca61c9646efd21 /apps/web/components/shared/sidebar | |
| parent | 91a9d3c1aee04d77b2a2d022821f4a7a38e315f3 (diff) | |
| download | karakeep-d5e2973dce617f451e4eb07491b3a6874ea6ca47.tar.zst | |
chore: migrate away from eslint to oxlint (#1642)
* chore: migrate away from eslint to oxlint
* revert turbo task name lint
* it seems like we can remove the seemingly default globals
Diffstat (limited to 'apps/web/components/shared/sidebar')
| -rw-r--r-- | apps/web/components/shared/sidebar/MobileSidebar.tsx | 1 | ||||
| -rw-r--r-- | apps/web/components/shared/sidebar/Sidebar.tsx | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/apps/web/components/shared/sidebar/MobileSidebar.tsx b/apps/web/components/shared/sidebar/MobileSidebar.tsx index 15285a9e..c512a981 100644 --- a/apps/web/components/shared/sidebar/MobileSidebar.tsx +++ b/apps/web/components/shared/sidebar/MobileSidebar.tsx @@ -9,6 +9,7 @@ export default async function MobileSidebar({ }: { items: (t: TFunction) => TSidebarItem[]; }) { + // oxlint-disable-next-line rules-of-hooks const { t } = await useTranslation(); return ( <aside className="w-full overflow-x-auto"> diff --git a/apps/web/components/shared/sidebar/Sidebar.tsx b/apps/web/components/shared/sidebar/Sidebar.tsx index dff26cdd..21d3ea48 100644 --- a/apps/web/components/shared/sidebar/Sidebar.tsx +++ b/apps/web/components/shared/sidebar/Sidebar.tsx @@ -14,6 +14,7 @@ export default async function Sidebar({ items: (t: TFunction) => TSidebarItem[]; extraSections?: React.ReactNode; }) { + // oxlint-disable-next-line rules-of-hooks const { t } = await useTranslation(); return ( |
