From 14a126b2908bbd0c929b308f00cffed0958061fa Mon Sep 17 00:00:00 2001 From: ArnauACR Date: Fri, 30 May 2025 21:55:56 +0200 Subject: [PATCH 1/4] chore(vite): update vite.config.js for project settings --- vite.config.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/vite.config.js b/vite.config.js index 9ffcc67..0466183 100644 --- a/vite.config.js +++ b/vite.config.js @@ -1,6 +1,6 @@ -import { defineConfig } from 'vite' -import react from '@vitejs/plugin-react' +import { defineConfig } from 'vite'; +import react from '@vitejs/plugin-react'; export default defineConfig({ plugins: [react()], -}) +}); From f3b8e7e2807e14cad77a74ece08c601ac4f35c6e Mon Sep 17 00:00:00 2001 From: ArnauACR Date: Fri, 30 May 2025 21:56:31 +0200 Subject: [PATCH 2/4] chore(eslint): add or update eslint configuration --- eslint.config.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/eslint.config.js b/eslint.config.js index ec2b712..b7837cf 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -1,7 +1,7 @@ -import js from '@eslint/js' -import globals from 'globals' -import reactHooks from 'eslint-plugin-react-hooks' -import reactRefresh from 'eslint-plugin-react-refresh' +import js from '@eslint/js'; +import globals from 'globals'; +import reactHooks from 'eslint-plugin-react-hooks'; +import reactRefresh from 'eslint-plugin-react-refresh'; export default [ { ignores: ['dist'] }, @@ -30,4 +30,4 @@ export default [ ], }, }, -] +]; From 0bfbebec838d1c4f413d4c0fccd635abecaefb7f Mon Sep 17 00:00:00 2001 From: ArnauACR Date: Fri, 30 May 2025 21:57:11 +0200 Subject: [PATCH 3/4] chore(package): update package.json with scripts and deps --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index be422d3..78a86e7 100644 --- a/package.json +++ b/package.json @@ -34,6 +34,6 @@ "vitest": "^3.1.3" }, "lint-staged": { - "src/**/*.{jsx,js,css}":"npm run lint:fix" + "src/**/*.{jsx,js,css}": "npm run lint:fix" } } From 43a20cc8b2e8c5232001aba35a3c7544d8621e2b Mon Sep 17 00:00:00 2001 From: ArnauACR Date: Fri, 30 May 2025 21:57:26 +0200 Subject: [PATCH 4/4] chore(main): update entry point if needed (main.jsx) --- src/main.jsx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/main.jsx b/src/main.jsx index b9a1a6d..d9cc93c 100644 --- a/src/main.jsx +++ b/src/main.jsx @@ -1,10 +1,10 @@ -import { StrictMode } from 'react' -import { createRoot } from 'react-dom/client' -import './index.css' -import App from './App.jsx' +import { StrictMode } from 'react'; +import { createRoot } from 'react-dom/client'; +import './index.css'; +import App from './App.jsx'; createRoot(document.getElementById('root')).render( - , -) + +);