From ef435a15ca67c829ce6cd8551ac45c419cb9792e Mon Sep 17 00:00:00 2001
From: Pawel Zelawski <pawel.zelawski@outlook.com>
Date: Thu, 10 Apr 2025 10:46:15 +0200
Subject: feat: setup project structure and tooling

- Initialized npm project and added core dependencies (React, Express, etc.).
- Added development dependencies (TypeScript, Vite, ESLint, Prettier, etc.).
- Configured TypeScript (`tsconfig.json`).
- Configured Vite (`vite.config.ts`) with React plugin and API proxy.
- Configured ESLint (`.eslintrc.cjs`) and Prettier (`.prettierrc.cjs`, `.prettierignore`).
- Added standard `.gitignore`.
- Created basic project structure (`src/client`, `src/server`, `public`).
- Created default `.env` file (PORT=3001, PUBLIC_URL=http://localhost:3001).
---
 .prettierrc.cjs | 9 +++++++++
 1 file changed, 9 insertions(+)
 create mode 100644 .prettierrc.cjs

(limited to '.prettierrc.cjs')

diff --git a/.prettierrc.cjs b/.prettierrc.cjs
new file mode 100644
index 0000000..57779e5
--- /dev/null
+++ b/.prettierrc.cjs
@@ -0,0 +1,9 @@
+module.exports = {
+  semi: true, // Add semicolons at the end of statements
+  trailingComma: 'es5', // Add trailing commas where valid in ES5 (objects, arrays, etc.)
+  singleQuote: true, // Use single quotes instead of double quotes
+  printWidth: 80, // Specify the line length that the printer will wrap on
+  tabWidth: 2, // Specify the number of spaces per indentation-level
+  useTabs: false, // Indent lines with spaces instead of tabs
+  endOfLine: 'lf', // Use Line Feed as the line ending
+}; 
\ No newline at end of file
-- 
cgit v1.2.3