Skip to content

Commit 8a88572

Browse files
authored
Merge pull request #966 from Moadong/develop-fe
[release] FE v1.1.9
2 parents 34692b5 + 9558738 commit 8a88572

File tree

236 files changed

+4558
-3765
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

236 files changed

+4558
-3765
lines changed

frontend/.prettierrc

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
{
2-
"semi": true,
32
"singleQuote": true,
43
"jsxSingleQuote": true,
5-
"trailingComma": "all",
6-
"printWidth": 80,
7-
"tabWidth": 2,
84
"useTabs": false,
9-
"bracketSpacing": true,
10-
"arrowParens": "always",
115
"endOfLine": "auto",
12-
"prefer-const": true,
13-
"singleAttributePerLine": false
14-
}
6+
"plugins": [
7+
"@ianvs/prettier-plugin-sort-imports"
8+
],
9+
"importOrder": [
10+
"^react",
11+
"<THIRD_PARTY_MODULES>",
12+
"^@/",
13+
"^[./]"
14+
],
15+
"importOrderSortSpecifiers": true
16+
}

frontend/.storybook/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import type { StorybookConfig } from '@storybook/react-webpack5';
21
import path from 'path';
32
import { fileURLToPath } from 'url';
3+
import type { StorybookConfig } from '@storybook/react-webpack5';
44

55
const config: StorybookConfig = {
66
stories: ['../src/**/*.mdx', '../src/**/*.stories.@(js|jsx|mjs|ts|tsx)'],

frontend/.storybook/preview.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import type { Preview } from '@storybook/react';
21
import { INITIAL_VIEWPORTS } from '@storybook/addon-viewport';
2+
import type { Preview } from '@storybook/react';
33

44
const preview: Preview = {
55
parameters: {

frontend/codecov.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
comment:
2-
layout: "diff, flags, files" # PR 리포트에 diff, flags, files 섹션 포함
2+
layout: 'diff, flags, files' # PR 리포트에 diff, flags, files 섹션 포함
33
require_changes: false
44
require_base: false
55
coverage:

frontend/config/vite.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { defineConfig } from 'vite';
21
import react from '@vitejs/plugin-react';
2+
import { defineConfig } from 'vite';
33
import tsconfigPaths from 'vite-tsconfig-paths';
44

55
const DEFAULT_PORT = 3000;

frontend/config/webpack.common.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import * as path from 'path';
22
import * as webpack from 'webpack';
3+
34
const HtmlWebpackPlugin = require('html-webpack-plugin');
45
const CopyWebpackPlugin = require('copy-webpack-plugin');
56
const Dotenv = require('dotenv-webpack');

frontend/config/webpack.dev.ts

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
import * as path from 'path';
22
import * as webpack from 'webpack';
33
import { merge } from 'webpack-merge';
4-
const RefreshWebpackPlugin = require('@pmmmwh/react-refresh-webpack-plugin');
54
import 'webpack-dev-server';
6-
import common from './webpack.common';
75
import detectPort from 'detect-port';
6+
import common from './webpack.common';
7+
8+
const RefreshWebpackPlugin = require('@pmmmwh/react-refresh-webpack-plugin');
89

910
const DEFAULT_PORT = 3000;
1011

@@ -56,9 +57,9 @@ export default getAvailablePort(DEFAULT_PORT).then((port) => {
5657
test: /\.css$/,
5758
use: ['style-loader', 'css-loader'],
5859
include: [
59-
path.resolve(__dirname, '../node_modules/react-datepicker/dist'),
60-
path.resolve(__dirname, '../node_modules/swiper'),
61-
],
60+
path.resolve(__dirname, '../node_modules/react-datepicker/dist'),
61+
path.resolve(__dirname, '../node_modules/swiper'),
62+
],
6263
},
6364
{
6465
test: /\.css$/,

frontend/eslint.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import typescript from '@typescript-eslint/eslint-plugin';
22
import parser from '@typescript-eslint/parser';
3+
import configPrettier from 'eslint-config-prettier';
34
import react from 'eslint-plugin-react';
45
import storybook from 'eslint-plugin-storybook';
5-
import configPrettier from 'eslint-config-prettier';
66

77
const config = [
88
{

frontend/jest.setup.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
import fetchMock from 'jest-fetch-mock';
2+
23
fetchMock.enableMocks();

frontend/package-lock.json

Lines changed: 49 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)