Skip to content

Commit

Permalink
chore: 코드 리뷰 반영
Browse files Browse the repository at this point in the history
  • Loading branch information
bottlewook committed Jan 20, 2024
1 parent f25a55a commit e0ca9a6
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 19 deletions.
6 changes: 3 additions & 3 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -160,9 +160,9 @@
"test.{ts,tsx}", // repos with a single test file
"test-*.{ts,tsx}", // repos with multiple top-level test files
"**/*{.,_}{test,spec}.{ts,tsx}", // tests where the extension or filename suffix denotes that it is a test
"**/jest.config.ts", // jest config
"**/jest.setup.ts", // jest setup
"**/test.utils.tsx" // test util file
"**/vitest.config.ts", // jest config
"**/vitest.setup.ts", // jest setup
"**/test-utils.tsx" // test util file
],
"optionalDependencies": false
}
Expand Down
7 changes: 3 additions & 4 deletions src/app/car-details/hydrated-page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,9 @@
import { useState } from 'react';
import { useForm } from 'react-hook-form';

import CarColorPicker from '@additional-info/car-details/CarColorPicker';
import CarDetails from '@additional-info/car-details/CarDetails';
import DetailsLoading from '@additional-info/details-loading/DetailsLoading';

import CarColorPicker from '@components/additional-info/car-details/CarColorPicker';
import CarDetails from '@components/additional-info/car-details/CarDetails';
import DetailsLoading from '@components/additional-info/details-loading/DetailsLoading';
import useCarColor from '@remote/queries/additional-info/car-details/useCarColor';
import useCarDriving from '@remote/queries/additional-info/car-details/useCarDriving';
import useCarParking from '@remote/queries/additional-info/car-details/useCarParking';
Expand Down
6 changes: 3 additions & 3 deletions src/components/additional-info/car-details/CarColorPicker.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { FieldValues, UseFormRegister } from 'react-hook-form';

import ColorPicker from '@additional-info/car-details/color-picker/ColorPicker';
import Description from '@additional-info/description/Description';
import classNames from 'classnames/bind';

import { IAdditionalInfo } from '@/remote/api/types/additional-info';
import ColorPicker from '@components/additional-info/car-details/color-picker/ColorPicker';
import Description from '@components/additional-info/description/Description';
import { IAdditionalInfo } from '@remote/api/types/additional-info';
import FixedBottomButton from '@shared/fixedBottomButton/FixedBottomButton';
import Spacing from '@shared/spacing/Spacing';

Expand Down
5 changes: 2 additions & 3 deletions src/components/additional-info/car-details/CarDetails.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import { FieldValues, UseFormRegister } from 'react-hook-form';

import Description from '@additional-info/description/Description';

import { IAdditionalInfo } from '@/remote/api/types/additional-info';
import Description from '@components/additional-info/description/Description';
import { IAdditionalInfo } from '@remote/api/types/additional-info';
import FixedBottomButton from '@shared/fixedBottomButton/FixedBottomButton';
import Flex from '@shared/flex/Flex';
import Radio from '@shared/radio/Radio';
Expand Down
1 change: 0 additions & 1 deletion src/tests/test-utils.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* eslint-disable import/no-extraneous-dependencies */
import { PropsWithChildren, ReactElement } from 'react';

import { render } from '@testing-library/react';
Expand Down
3 changes: 0 additions & 3 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,6 @@
"@shared/*": [
"src/components/shared/*"
],
"@additional-info/*": [
"src/components/additional-info/*"
],
"@styles/*": [
"src/styles/*"
],
Expand Down
1 change: 0 additions & 1 deletion vitest.config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* eslint-disable import/no-extraneous-dependencies */
import path from 'path';

import react from '@vitejs/plugin-react';
Expand Down
1 change: 0 additions & 1 deletion vitest.setup.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* eslint-disable import/no-extraneous-dependencies */
import '@testing-library/jest-dom';

import { beforeAll, afterEach, afterAll } from 'vitest';
Expand Down

0 comments on commit e0ca9a6

Please sign in to comment.