Integrate Prettier into project configuration
- Added `eslint-config-prettier` to disable conflicting ESLint rules. - Configured Prettier with `.prettierrc` for consistent formatting. - Updated `package.json` scripts to apply and check formatting on entire project. - Added `.prettierignore` to exclude unnecessary files and directories from formatting. - Updated dependencies in `package-lock.json` and removed unused packages.
This commit is contained in:
41
frontend/.prettierignore
Normal file
41
frontend/.prettierignore
Normal file
@@ -0,0 +1,41 @@
|
||||
# Dependencies
|
||||
node_modules
|
||||
.pnp
|
||||
.pnp.js
|
||||
|
||||
# Build outputs
|
||||
.next
|
||||
out
|
||||
build
|
||||
dist
|
||||
|
||||
# Coverage
|
||||
coverage
|
||||
.nyc_output
|
||||
|
||||
# Generated files
|
||||
src/lib/api/generated
|
||||
*.gen.ts
|
||||
*.gen.tsx
|
||||
|
||||
# Logs
|
||||
*.log
|
||||
|
||||
# Environment files
|
||||
.env
|
||||
.env.local
|
||||
.env.development.local
|
||||
.env.test.local
|
||||
.env.production.local
|
||||
|
||||
# Auth storage for E2E tests
|
||||
.auth
|
||||
|
||||
# Package manager lock files
|
||||
package-lock.json
|
||||
pnpm-lock.yaml
|
||||
yarn.lock
|
||||
|
||||
# Other
|
||||
.DS_Store
|
||||
*.pem
|
||||
Reference in New Issue
Block a user