Skip to content

Conversation

MikeMcC399
Copy link
Contributor

@MikeMcC399 MikeMcC399 commented Oct 3, 2025

Situation

Change

Update the ESLint configuration eslint.config.mjs:

  • Use the extends syntax

  • Use the globalIgnores helper function to ignore files in the temporary build directory created by vite build

  • Align import naming for best agreement with ESLint, typescript-eslint and eslint-plugin-cypress documentation

  • change TO-DO to TODO:, following a convention to write it this way.

Remove a currently unused eslint-disable-next-line directive in backend/types.ts.

Update to latest ESLint components:

From To
@eslint/[email protected] (implicit) @eslint/js@^9.37.0 (explicit)
@typescript-eslint/parser@^8.35.1 (explicit) @typescript-eslint/parser@^8.46.0 (implicit)
eslint@^9.30.1 eslint@^9.37.0
eslint-plugin-cypress@^5.1.0 eslint-plugin-cypress@^5.2.0
typescript-eslint@^8.35.1 typescript-eslint@^8.46.0

Verification

git clean -xfd
yarn
yarn run prettier
yarn vite build
yarn eslint

Confirm no errors reported and no changes made.

update ESLint configuration to use 'extends' for better maintainability

update dependencies in package.json and yarn.lock
@cypress-app-bot
Copy link

@MikeMcC399 MikeMcC399 force-pushed the migrate/eslint-extends branch from 5ff8d10 to 463386f Compare October 6, 2025 14:36
@MikeMcC399 MikeMcC399 force-pushed the migrate/eslint-extends branch from 1265741 to a14b9ee Compare October 6, 2025 17:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants