Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions client/.npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Enable legacy peer dependency resolution to bypass peer dependency conflicts
#
# Why this is needed:
# - This project uses ESLint 10.0.0
# - eslint-plugin-react@7.37.5 only supports ESLint up to version 9.7
# - Without this flag, npm install fails with peer dependency errors
#
# Risk assessment:
# - Low risk for front-end projects since ESLint is a dev dependency
# - ESLint runs during build/lint, not in production
# - Worst case: some ESLint rules might not work correctly
#
# Future resolution:
# - Monitor for eslint-plugin-react updates that support ESLint 10
# - Or consider downgrading ESLint to version 9 if compatibility issues arise
legacy-peer-deps=true
Loading