chore: biome format vitest config, add Props JSDoc to SidebarNav

This commit is contained in:
Ilia Mashkov
2026-05-11 11:11:24 +03:00
parent f9cdb06632
commit b4bda4b8f7
3 changed files with 14 additions and 11 deletions
+3
View File
@@ -5,6 +5,9 @@ import { usePathname } from 'next/navigation';
import { CONTACT_LINKS, cn } from '$shared/lib'; import { CONTACT_LINKS, cn } from '$shared/lib';
import type { NavItem } from '../model/types'; import type { NavItem } from '../model/types';
/**
* Props for SidebarNav.
*/
interface Props { interface Props {
/** /**
* Navigation items to render * Navigation items to render
+10 -10
View File
@@ -1,6 +1,6 @@
import { defineConfig } from 'vitest/config' import react from '@vitejs/plugin-react';
import react from '@vitejs/plugin-react' import path from 'path';
import path from 'path' import { defineConfig } from 'vitest/config';
export default defineConfig({ export default defineConfig({
plugins: [react()], plugins: [react()],
@@ -12,13 +12,13 @@ export default defineConfig({
}, },
resolve: { resolve: {
alias: { alias: {
'$shared': path.resolve(__dirname, './src/shared'), $shared: path.resolve(__dirname, './src/shared'),
'$entities': path.resolve(__dirname, './src/entities'), $entities: path.resolve(__dirname, './src/entities'),
'$widgets': path.resolve(__dirname, './src/widgets'), $widgets: path.resolve(__dirname, './src/widgets'),
'$features': path.resolve(__dirname, './src/features'), $features: path.resolve(__dirname, './src/features'),
'$app': path.resolve(__dirname, './src/app'), $app: path.resolve(__dirname, './src/app'),
'$routes': path.resolve(__dirname, './src/routes'), $routes: path.resolve(__dirname, './src/routes'),
'@': path.resolve(__dirname, '.'), '@': path.resolve(__dirname, '.'),
}, },
}, },
}) });