diff --git "a/.github/ISSUE_TEMPLATE/\342\231\273\357\270\217-refactor.md" "b/.github/ISSUE_TEMPLATE/\342\231\273\357\270\217-refactor.md" index a2e8f19..761b086 100644 --- "a/.github/ISSUE_TEMPLATE/\342\231\273\357\270\217-refactor.md" +++ "b/.github/ISSUE_TEMPLATE/\342\231\273\357\270\217-refactor.md" @@ -1,20 +1,23 @@ --- -name: "♻️ refactor" +name: '♻️ refactor' about: Refactoring issue -title: "♻️ Refactor: " -labels: "♻️ refactor" +title: '♻️ Refactor: ' +labels: '♻️ refactor' assignees: '' - --- ## 💡 About + > Briefly describe the refactoring details (reason, purpose, etc.) ## 🤷🏼‍♂️ How + > How will the refactoring be carried out? ## ✅ To Do + - [ ] Task 1 ## 💬 Etc + > Any additional notes or context diff --git "a/.github/ISSUE_TEMPLATE/\342\232\231\357\270\217-chore.md" "b/.github/ISSUE_TEMPLATE/\342\232\231\357\270\217-chore.md" index 3242675..ec173a5 100644 --- "a/.github/ISSUE_TEMPLATE/\342\232\231\357\270\217-chore.md" +++ "b/.github/ISSUE_TEMPLATE/\342\232\231\357\270\217-chore.md" @@ -1,14 +1,15 @@ --- -name: "⚙️ chore" +name: '⚙️ chore' about: Misc issue -title: "⚙️ Chore: " -labels: "⚙️ chore" +title: '⚙️ Chore: ' +labels: '⚙️ chore' assignees: '' - --- ## 📌 Description + - ## ✅ To do + - [ ] task1 diff --git "a/.github/ISSUE_TEMPLATE/\342\234\250-feature.md" "b/.github/ISSUE_TEMPLATE/\342\234\250-feature.md" index 416049a..379e6d1 100644 --- "a/.github/ISSUE_TEMPLATE/\342\234\250-feature.md" +++ "b/.github/ISSUE_TEMPLATE/\342\234\250-feature.md" @@ -1,22 +1,24 @@ --- -name: "✨ feature" +name: '✨ feature' about: Feature addition -title: "✨ Feat: " -labels: "✨ feature" +title: '✨ Feat: ' +labels: '✨ feature' assignees: '' - --- ## 🛠️ Issue Overview + - **Overview**: A short summary of the issue and why it matters. ## 📝 Issue Description + - **Details**: - - What is currently not working well or could be improved? - - What solution or feature are you proposing? - - What impact will this change have? + - What is currently not working well or could be improved? + - What solution or feature are you proposing? + - What impact will this change have? ## ✅ To Do -- [ ] -- [ ] + +- [ ] +- [ ] - [ ] diff --git "a/.github/ISSUE_TEMPLATE/\360\237\220\233-fix.md" "b/.github/ISSUE_TEMPLATE/\360\237\220\233-fix.md" index 642ae3b..ef1c96a 100644 --- "a/.github/ISSUE_TEMPLATE/\360\237\220\233-fix.md" +++ "b/.github/ISSUE_TEMPLATE/\360\237\220\233-fix.md" @@ -4,17 +4,20 @@ about: Bug fix issue title: "\U0001F41B Fix: " labels: "\U0001F41B fix" assignees: '' - --- ## 🐛 About + > A short description of the bug. ## 🤔 Situation & Cause + > Describe when, where, and why the bug occurs. ## 🤔 Expected Behavior + > What is the expected behavior? ## 🤷🏼‍♂️ Resolution Plan + > How do you plan to fix this issue? diff --git "a/.github/ISSUE_TEMPLATE/\360\237\221\267-ci-cd.md" "b/.github/ISSUE_TEMPLATE/\360\237\221\267-ci-cd.md" index 3c1bc55..d6e241d 100644 --- "a/.github/ISSUE_TEMPLATE/\360\237\221\267-ci-cd.md" +++ "b/.github/ISSUE_TEMPLATE/\360\237\221\267-ci-cd.md" @@ -4,11 +4,12 @@ about: CI/CD issue title: "\U0001F477 CI/CD: " labels: "\U0001F477 ci/cd" assignees: '' - --- ## 📌 Description + - ## ✅ To do + - [ ] task1 diff --git "a/.github/ISSUE_TEMPLATE/\360\237\223\235-docs.md" "b/.github/ISSUE_TEMPLATE/\360\237\223\235-docs.md" index 3251763..d3a3ac1 100644 --- "a/.github/ISSUE_TEMPLATE/\360\237\223\235-docs.md" +++ "b/.github/ISSUE_TEMPLATE/\360\237\223\235-docs.md" @@ -4,11 +4,12 @@ about: Docs issue title: "\U0001F4DD Docs: " labels: "\U0001F4DD docs" assignees: '' - --- ## 📌 Description + - ## ✅ To do + - [ ] task1 diff --git a/.github/workflows/netlify.yml b/.github/workflows/netlify.yml index 4f221d2..a2c58e9 100644 --- a/.github/workflows/netlify.yml +++ b/.github/workflows/netlify.yml @@ -40,10 +40,10 @@ jobs: - name: Deploy to Netlify uses: nwtgck/actions-netlify@v2.0 with: - publish-dir: "./dist" + publish-dir: './dist' production-branch: develop github-token: ${{ secrets.GITHUB_TOKEN }} - deploy-message: "🚀 [Deploy] ${{ github.head_ref || github.ref_name }}: ${{ github.event.head_commit.message }}" + deploy-message: '🚀 [Deploy] ${{ github.head_ref || github.ref_name }}: ${{ github.event.head_commit.message }}' enable-pull-request-comment: true enable-commit-comment: true overwrites-pull-request-comment: true diff --git a/.prettierignore b/.prettierignore new file mode 100644 index 0000000..453ed9b --- /dev/null +++ b/.prettierignore @@ -0,0 +1,4 @@ +node_modules +build +dist +dev-dist \ No newline at end of file diff --git a/.prettierrc b/.prettierrc new file mode 100644 index 0000000..cef3b6b --- /dev/null +++ b/.prettierrc @@ -0,0 +1,7 @@ +{ + "singleQuote": true, + "semi": true, + "tabWidth": 2, + "trailingComma": "all", + "printWidth": 80 +} diff --git a/eslint.config.js b/eslint.config.js index 5e6b472..a53e381 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -1,9 +1,9 @@ -import js from '@eslint/js' -import globals from 'globals' -import reactHooks from 'eslint-plugin-react-hooks' -import reactRefresh from 'eslint-plugin-react-refresh' -import tseslint from 'typescript-eslint' -import { defineConfig, globalIgnores } from 'eslint/config' +import js from '@eslint/js'; +import globals from 'globals'; +import reactHooks from 'eslint-plugin-react-hooks'; +import reactRefresh from 'eslint-plugin-react-refresh'; +import tseslint from 'typescript-eslint'; +import { defineConfig, globalIgnores } from 'eslint/config'; export default defineConfig([ globalIgnores(['dist']), @@ -20,4 +20,4 @@ export default defineConfig([ globals: globals.browser, }, }, -]) +]); diff --git a/package-lock.json b/package-lock.json index 41ac565..482a0a0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -27,6 +27,7 @@ "eslint-plugin-react-hooks": "^7.0.1", "eslint-plugin-react-refresh": "^0.4.24", "globals": "^16.5.0", + "prettier": "3.7.4", "typescript": "~5.9.3", "typescript-eslint": "^8.46.4", "vite": "^7.2.4", @@ -64,7 +65,6 @@ "integrity": "sha512-e7jT4DxYvIDLk1ZHmU/m/mB19rex9sv0c2ftBtjSBv+kVM/902eh0fINUzD7UwLLNR+jU585GxUJ8/EBfAM5fw==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "@babel/code-frame": "^7.27.1", "@babel/generator": "^7.28.5", @@ -3174,7 +3174,6 @@ "resolved": "https://registry.npmjs.org/@tanstack/react-query/-/react-query-5.90.12.tgz", "integrity": "sha512-graRZspg7EoEaw0a8faiUASCyJrqjKPdqJ9EwuDRUF9mEYJ1YPczI9H+/agJ0mOJkPCJDk0lsz5QTrLZ/jQ2rg==", "license": "MIT", - "peer": true, "dependencies": { "@tanstack/query-core": "5.90.12" }, @@ -3222,7 +3221,6 @@ "integrity": "sha512-vnDVpYPMzs4wunl27jHrfmwojOGKya0xyM3sH+UE5iv5uPS6vX7UIoh6m+vQc5LGBq52HBKPIn/zcSZVzeDEZg==", "devOptional": true, "license": "MIT", - "peer": true, "dependencies": { "undici-types": "~7.16.0" } @@ -3233,7 +3231,6 @@ "integrity": "sha512-MWtvHrGZLFttgeEj28VXHxpmwYbor/ATPYbBfSFZEIRK0ecCFLl2Qo55z52Hss+UV9CRN7trSeq1zbgx7YDWWg==", "devOptional": true, "license": "MIT", - "peer": true, "dependencies": { "csstype": "^3.2.2" } @@ -3307,7 +3304,6 @@ "integrity": "sha512-6/cmF2piao+f6wSxUsJLZjck7OQsYyRtcOZS02k7XINSNlz93v6emM8WutDQSXnroG2xwYlEVHJI+cPA7CPM3Q==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "@typescript-eslint/scope-manager": "8.50.0", "@typescript-eslint/types": "8.50.0", @@ -3555,7 +3551,6 @@ "integrity": "sha512-NZyJarBfL7nWwIq+FDL6Zp/yHEhePMNnnJ0y3qfieCrmNvYct8uvtiV41UvlSe6apAfk0fY1FbWx+NwfmpvtTg==", "devOptional": true, "license": "MIT", - "peer": true, "bin": { "acorn": "bin/acorn" }, @@ -3815,7 +3810,6 @@ } ], "license": "MIT", - "peer": true, "dependencies": { "baseline-browser-mapping": "^2.9.0", "caniuse-lite": "^1.0.30001759", @@ -4452,7 +4446,6 @@ "integrity": "sha512-LEyamqS7W5HB3ujJyvi0HQK/dtVINZvd5mAAp9eT5S/ujByGjiZLCzPcHVzuXbpJDJF/cxwHlfceVUDZ2lnSTw==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "@eslint-community/eslint-utils": "^4.8.0", "@eslint-community/regexpp": "^4.12.1", @@ -6543,6 +6536,22 @@ "node": ">= 0.8.0" } }, + "node_modules/prettier": { + "version": "3.7.4", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.7.4.tgz", + "integrity": "sha512-v6UNi1+3hSlVvv8fSaoUbggEM5VErKmmpGA7Pl3HF8V6uKY7rvClBOJlH6yNwQtfTueNkGVpOv/mtWL9L4bgRA==", + "dev": true, + "license": "MIT", + "bin": { + "prettier": "bin/prettier.cjs" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/prettier/prettier?sponsor=1" + } + }, "node_modules/pretty-bytes": { "version": "6.1.1", "resolved": "https://registry.npmjs.org/pretty-bytes/-/pretty-bytes-6.1.1.tgz", @@ -6587,7 +6596,6 @@ "resolved": "https://registry.npmjs.org/react/-/react-19.2.3.tgz", "integrity": "sha512-Ku/hhYbVjOQnXDZFv2+RibmLFGwFdeeKHFcOTlrt7xplBnya5OGn/hIRDsqDiSUcfORsDC7MPxwork8jBwsIWA==", "license": "MIT", - "peer": true, "engines": { "node": ">=0.10.0" } @@ -7433,7 +7441,6 @@ "integrity": "sha512-t/R3R/n0MSwnnazuPpPNVO60LX0SKL45pyl9YlvxIdkH0Of7D5qM2EVe+yASRIlY5pZ73nclYJfNANGWPwFDZw==", "devOptional": true, "license": "BSD-2-Clause", - "peer": true, "dependencies": { "@jridgewell/source-map": "^0.3.3", "acorn": "^8.15.0", @@ -7596,7 +7603,6 @@ "integrity": "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==", "dev": true, "license": "Apache-2.0", - "peer": true, "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" @@ -7779,7 +7785,6 @@ "resolved": "https://registry.npmjs.org/vite/-/vite-7.3.0.tgz", "integrity": "sha512-dZwN5L1VlUBewiP6H9s2+B3e3Jg96D0vzN+Ry73sOefebhYr9f94wwkMNN/9ouoU8pV1BqA1d1zGk8928cx0rg==", "license": "MIT", - "peer": true, "dependencies": { "esbuild": "^0.27.0", "fdir": "^6.5.0", @@ -8171,7 +8176,6 @@ "integrity": "sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "fast-deep-equal": "^3.1.3", "fast-uri": "^3.0.1", @@ -8229,7 +8233,6 @@ "integrity": "sha512-fS6iqSPZDs3dr/y7Od6y5nha8dW1YnbgtsyotCVvoFGKbERG++CVRFv1meyGDE1SNItQA8BrnCw7ScdAhRJ3XQ==", "dev": true, "license": "MIT", - "peer": true, "bin": { "rollup": "dist/bin/rollup" }, @@ -8498,7 +8501,6 @@ "integrity": "sha512-0wZ1IRqGGhMP76gLqz8EyfBXKk0J2qo2+H3fi4mcUP/KtTocoX08nmIAHl1Z2kJIZbZee8KOpBCSNPRgauucjw==", "dev": true, "license": "MIT", - "peer": true, "funding": { "url": "https://github.com/sponsors/colinhacks" } diff --git a/package.json b/package.json index 1854a56..33f06f7 100644 --- a/package.json +++ b/package.json @@ -29,6 +29,7 @@ "eslint-plugin-react-hooks": "^7.0.1", "eslint-plugin-react-refresh": "^0.4.24", "globals": "^16.5.0", + "prettier": "3.7.4", "typescript": "~5.9.3", "typescript-eslint": "^8.46.4", "vite": "^7.2.4", diff --git a/src/App.tsx b/src/App.tsx index a096c2d..a8cbbb8 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1,5 +1,5 @@ -import { QueryClient, QueryClientProvider } from "@tanstack/react-query"; -import { ReactQueryDevtools } from "@tanstack/react-query-devtools"; +import { QueryClient, QueryClientProvider } from '@tanstack/react-query'; +import { ReactQueryDevtools } from '@tanstack/react-query-devtools'; function App() { const queryClient = new QueryClient(); diff --git a/src/main.tsx b/src/main.tsx index bef5202..2239905 100644 --- a/src/main.tsx +++ b/src/main.tsx @@ -1,10 +1,10 @@ -import { StrictMode } from 'react' -import { createRoot } from 'react-dom/client' -import './index.css' -import App from './App.tsx' +import { StrictMode } from 'react'; +import { createRoot } from 'react-dom/client'; +import './index.css'; +import App from './App.tsx'; createRoot(document.getElementById('root')!).render( , -) +);