Skip to content

Commit ee7e92f

Browse files
committed
style: lint project
1 parent 53c45f2 commit ee7e92f

File tree

19 files changed

+35
-35
lines changed

19 files changed

+35
-35
lines changed

apps/backend/src/auth/auth.controller.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ export class AuthController {
5858
},
5959
},
6060
})
61-
// eslint-disable-next-line @typescript-eslint/no-unused-vars
61+
// eslint-disable-next-line unused-imports/no-unused-vars
6262
public async magicLinkLogin(@Req() req: Request, @Res() res: Response) {
6363
throw new HttpException('Not implemented', HttpStatus.NOT_IMPLEMENTED);
6464
// TODO: uncomment this line to enable magic link login

apps/backend/src/song/song.service.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,8 @@ import {
88
import { InjectModel } from '@nestjs/mongoose';
99
import { Model } from 'mongoose';
1010

11-
import { BROWSER_SONGS, TIMESPANS } from '@nbw/config';
11+
import { BROWSER_SONGS } from '@nbw/config';
1212
import {
13-
FeaturedSongsDto,
1413
UserDocument,
1514
PageQueryDTO,
1615
Song as SongEntity,
@@ -20,7 +19,6 @@ import {
2019
UploadSongDto,
2120
UploadSongResponseDto,
2221
type SongWithUser,
23-
TimespanType,
2422
} from '@nbw/database';
2523
import { FileService } from '@server/file/file.service';
2624

apps/backend/src/user/user.controller.ts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,3 @@
1-
import { ApiBearerAuth, ApiOperation, ApiTags } from '@nestjs/swagger';
2-
3-
import type { UserDocument } from '@nbw/database';
4-
import {
5-
GetUser,
6-
PageQueryDTO,
7-
UpdateUsernameDto,
8-
UserDto,
9-
} from '@nbw/database';
101
import {
112
Body,
123
Controller,
@@ -17,8 +8,17 @@ import {
178
Patch,
189
Query,
1910
} from '@nestjs/common';
11+
import { ApiBearerAuth, ApiOperation, ApiTags } from '@nestjs/swagger';
2012

13+
import type { UserDocument } from '@nbw/database';
14+
import {
15+
GetUser,
16+
PageQueryDTO,
17+
UpdateUsernameDto,
18+
UserDto,
19+
} from '@nbw/database';
2120
import { GetRequestToken, validateUser } from '@server/lib/GetRequestUser';
21+
2222
import { UserService } from './user.service';
2323

2424
@Controller('user')

apps/frontend/src/modules/browse/components/client/context/HomePage.context.tsx

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,14 @@
22

33
import { FeaturedSongsDtoType, SongPreviewDtoType } from '@nbw/database';
44

5-
import { FeaturedSongsProvider } from './FeaturedSongs.context';
6-
import { RecentSongsProvider } from './RecentSongs.context';
7-
import { useFeaturedSongsStore } from './FeaturedSongs.context';
8-
import { useRecentSongsStore } from './RecentSongs.context';
5+
import {
6+
FeaturedSongsProvider,
7+
useFeaturedSongsStore,
8+
} from './FeaturedSongs.context';
9+
import {
10+
RecentSongsProvider,
11+
useRecentSongsStore,
12+
} from './RecentSongs.context';
913

1014
/**
1115
* Composed hook that provides access to both FeaturedSongs and RecentSongs stores

apps/frontend/src/modules/my-songs/components/client/context/MySongs.context.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
'use client';
22

33
import { useEffect } from 'react';
4-
import { create } from 'zustand';
54
import { toast } from 'react-hot-toast';
5+
import { create } from 'zustand';
66

77
import { MY_SONGS } from '@nbw/config';
88
import type {

apps/frontend/src/modules/shared/components/ui/badge.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import * as React from 'react';
21
import { cva, type VariantProps } from 'class-variance-authority';
2+
import * as React from 'react';
33

44
import { cn } from '@web/lib/utils';
55

apps/frontend/src/modules/shared/components/ui/command.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
'use client';
22

3-
import * as React from 'react';
43
import { type DialogProps } from '@radix-ui/react-dialog';
54
import { Command as CommandPrimitive } from 'cmdk';
65
import { Search } from 'lucide-react';
6+
import * as React from 'react';
77

88
import { cn } from '@web/lib/utils';
99
import {

apps/frontend/src/modules/shared/components/ui/dialog.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
'use client';
22

3-
import * as React from 'react';
43
import * as DialogPrimitive from '@radix-ui/react-dialog';
54
import { XIcon } from 'lucide-react';
5+
import * as React from 'react';
66

77
import { cn } from '@web/lib/utils';
88

apps/frontend/src/modules/shared/components/ui/dualRangeSlider.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
'use client';
22

3-
import * as React from 'react';
43
import * as SliderPrimitive from '@radix-ui/react-slider';
4+
import * as React from 'react';
55

66
import { cn } from '@web/lib/utils';
77

apps/frontend/src/modules/shared/components/ui/multipleSelectorProps.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ import { X, ChevronDownIcon } from 'lucide-react';
55
import * as React from 'react';
66
import { forwardRef, useEffect } from 'react';
77

8-
import { Badge } from '@web/modules/shared/components/ui/badge';
8+
import { cn } from '@web/lib/utils';
99
import {
1010
Command,
1111
CommandGroup,
1212
CommandItem,
1313
CommandList,
1414
} from '@web/modules/shared/components/client/Command';
15-
import { cn } from '@web/lib/utils';
15+
import { Badge } from '@web/modules/shared/components/ui/badge';
1616

1717
export interface Option {
1818
value: string;

0 commit comments

Comments
 (0)