Skip to content

chore: reduce number of warnigs in the terminal#1378

Open
jekabs-karklins wants to merge 2 commits intodevelopfrom
chrore-fix-warnings
Open

chore: reduce number of warnigs in the terminal#1378
jekabs-karklins wants to merge 2 commits intodevelopfrom
chrore-fix-warnings

Conversation

@jekabs-karklins
Copy link
Contributor

@jekabs-karklins jekabs-karklins commented Feb 25, 2026

Description

This PR updates the package.json and eslint.config.js files to set the type as module and adjust eslint config for react version detection.

Motivation and Context

It will make easier to spot the actual error in the console

Changes

  1. The type property is added to the package.json file for both apps/e2e/package.json and apps/frontend/package.json, setting it as "module". This change allows Node.js to treat .js files as ES modules.
  2. The react.version property in apps/frontend/eslint.config.js is updated from a fixed version '18.3.1' to 'detect'. This enables eslint to automatically detect the version of React in use which can prevent potential issues related to version mismatches.
  3. The caniuse-lite version in apps/frontend/package-lock.json is updated to "1.0.30001774", ensuring that our project is using the most recent compatibility data.

@jekabs-karklins jekabs-karklins requested a review from a team as a code owner February 25, 2026 10:14
@jekabs-karklins jekabs-karklins requested review from deepaksftc and removed request for a team February 25, 2026 10:14
@jekabs-karklins jekabs-karklins changed the title chore: update package.json to set type as module and adjust eslint config for react version detection chore: reduce number of warnigs in the terminal Feb 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants