Skip to content

refactor(deps): migrate eslint-plugin-cypress from v5.3.0 to v6.0.0#58396

Open
s0wa48 wants to merge 1 commit intonextcloud:masterfrom
s0wa48:deps/upgrade-eslint-plugin-cypress-6.0.0
Open

refactor(deps): migrate eslint-plugin-cypress from v5.3.0 to v6.0.0#58396
s0wa48 wants to merge 1 commit intonextcloud:masterfrom
s0wa48:deps/upgrade-eslint-plugin-cypress-6.0.0

Conversation

@s0wa48
Copy link

@s0wa48 s0wa48 commented Feb 18, 2026

Changes

Dependency update

  • Bumps eslint-plugin-cypress from ^5.3.0 to ^6.0.0

Breaking changes addressed

Removed: eslint-plugin-cypress/flat configuration

The deprecated eslint-plugin-cypress/flat sub-path export has been removed in v6. The correct import is now exclusively from eslint-plugin-cypress directly.

The existing code in eslint.config.js was already importing from 'eslint-plugin-cypress' (not the deprecated /flat path), so no structural change to the configuration object was required.

However, the import style has been updated from a default import (import CypressEslint from 'eslint-plugin-cypress') to a namespace import (import * as CypressEslint from 'eslint-plugin-cypress'). With the addition of "type": "commonjs" in the plugin's package.json (another v6 change), using a namespace import is the safer and more compatible pattern for consuming the plugin's named exports (such as configs.recommended) in an ESM context, ensuring forward compatibility.

Other v6 changes (no code impact)

  • ESLint v10 migration completion
  • Globals updated to 17.3.0 (handled by the plugin internally)
  • Documentation updates for flat configuration

This PR was auto-generated by Gittensor upgrade bot using Claude AI

@s0wa48 s0wa48 requested review from a team as code owners February 18, 2026 00:00
@s0wa48 s0wa48 requested review from skjnldsv, susnux and szaimen and removed request for a team February 18, 2026 00:00
@szaimen szaimen removed their request for review February 18, 2026 07:18
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.

1 participant