Skip to content

Commit

Permalink
refactor: migrate pkgs
Browse files Browse the repository at this point in the history
  • Loading branch information
hyochan committed Sep 16, 2023
1 parent a35b921 commit e6b8a1e
Show file tree
Hide file tree
Showing 6 changed files with 70 additions and 690 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module.exports = {
extends: ['next/core-web-vitals', '@dooboo/eslint-config-react'],
extends: ['next/core-web-vitals'],
env: {
browser: true,
es2021: true,
Expand Down
3 changes: 1 addition & 2 deletions app/[lang]/(common)/ButtonGroup.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import type {CSSProperties} from 'react';
import {type ReactElement} from 'react';
import type {CSSProperties, ReactElement} from 'react';

const StyledButton = ({
selected,
Expand Down
1 change: 1 addition & 0 deletions app/[lang]/(common)/TextInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ interface Props extends React.InputHTMLAttributes<HTMLInputElement> {
errorMessage?: string;
}

// eslint-disable-next-line react/display-name
const TextInput = forwardRef<HTMLInputElement, Props>(
(
{
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@
"devDependencies": {
"@commitlint/cli": "^17.7.1",
"@commitlint/config-conventional": "^17.7.0",
"@dooboo/eslint-config-react": "^1.4.1",
"@svgr/webpack": "^8.1.0",
"@tailwindcss/forms": "^0.5.6",
"@testing-library/react": "^14.0.0",
Expand All @@ -64,7 +63,7 @@
"@types/react-dom": "18.2.7",
"@types/react-hamburger-menu": "^0.0.4",
"@vitejs/plugin-react": "^4.0.4",
"@vitest/coverage-c8": "^0.31.0",
"@vitest/coverage-v8": "^0.34.4",
"autoprefixer": "^10.4.15",
"clsx": "^2.0.0",
"commitlint-plugin-function-rules": "^2.0.2",
Expand Down
1 change: 1 addition & 0 deletions vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import react from '@vitejs/plugin-react';

// https://vitejs.dev/config/
export default defineConfig({
// @ts-ignore
plugins: [react()],
resolve: {
alias: {
Expand Down
Loading

1 comment on commit e6b8a1e

@vercel
Copy link

@vercel vercel bot commented on e6b8a1e Sep 16, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

github-stats – ./

stats.hyochan.dev
github-stats-git-main-hyochan.vercel.app
github-stats-hyochan.vercel.app
stats.dooboo.io

Please sign in to comment.