Skip to content

Commit 6efc953

Browse files
committed
style: apply linting
1 parent c2c71ce commit 6efc953

File tree

6 files changed

+19
-10
lines changed

6 files changed

+19
-10
lines changed

shared/validation/user/dto/UpdateUsername.dto.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import { ApiProperty } from '@nestjs/swagger';
2-
import { IsString, MinLength, MaxLength, Matches } from 'class-validator';
2+
import { IsString, Matches, MaxLength, MinLength } from 'class-validator';
3+
34
import { UserConst } from '../constants';
45

56
export class UpdateUsernameDto {

web/src/lib/axios/ClientAxios.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
import axios from 'axios';
2+
23
import { getTokenLocal } from './token.utils';
4+
35
export const baseApiURL = process.env.NEXT_PUBLIC_API_URL;
46

57
const ClientAxios = axios.create({

web/src/modules/shared/components/layout/BlockTab.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
import { IconDefinition } from '@fortawesome/free-solid-svg-icons';
22
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
3-
import { cn } from '@web/src/lib/tailwind.utils';
43
import Link from 'next/link';
4+
5+
import { cn } from '@web/src/lib/tailwind.utils';
6+
57
import { MusicalNote } from './MusicalNote';
68

79
export const BlockTab = ({

web/src/modules/shared/components/layout/MusicalNote.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
'use client';
22
import { useCallback, useEffect, useRef, useState } from 'react';
33
import './MusicalNote.css';
4+
45
const notesSpritesSheet = '/notes_sprites.png';
56

67
const spritesSheetSize = {

web/src/modules/shared/components/layout/RandomSongButton.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import { SongPreviewDto } from '@shared/validation/song/dto/SongPreview.dto';
66
import { useRouter } from 'next/navigation';
77

88
import axios from '@web/src/lib/axios';
9+
910
import { MusicalNote } from './MusicalNote';
1011

1112
export const RandomSongButton = () => {

web/src/modules/shared/components/layout/UserMenu.tsx

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,22 +8,24 @@ import {
88
faSignOutAlt,
99
} from '@fortawesome/free-solid-svg-icons';
1010
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
11-
import { LoggedUserData } from '@web/src/modules/auth/types/User';
11+
import { UserConst } from '@shared/validation/user/constants';
12+
import { AxiosError } from 'axios';
1213
import Image from 'next/image';
1314
import { useEffect, useState } from 'react';
14-
import { UserMenuButton } from '../client/UserMenuButton';
15-
import { UserMenuLink, UserMenuSplitLine } from './UserMenuLink';
15+
import { SubmitHandler, useForm } from 'react-hook-form';
16+
import toast from 'react-hot-toast';
17+
18+
import ClientAxios from '@web/src/lib/axios/ClientAxios';
19+
import { LoggedUserData } from '@web/src/modules/auth/types/User';
20+
1621
import {
1722
Popover,
1823
PopoverArrow,
1924
PopoverContent,
2025
PopoverTrigger,
2126
} from './popover';
22-
import { SubmitHandler, useForm } from 'react-hook-form';
23-
import ClientAxios from '@web/src/lib/axios/ClientAxios';
24-
import { AxiosError } from 'axios';
25-
import toast from 'react-hot-toast';
26-
import { UserConst } from '@shared/validation/user/constants';
27+
import { UserMenuLink, UserMenuSplitLine } from './UserMenuLink';
28+
import { UserMenuButton } from '../client/UserMenuButton';
2729

2830
interface FormValues {
2931
username: string;

0 commit comments

Comments
 (0)