Upgrade @gitlab/eslint-plugin to v23

What does this MR do and why?

This version of the package drops eslint-plugin-import in favor of eslint-plugin-import-x. eslint-plugin-import-x was never made compatible with ESLint 10, so we need to switch to its newer, more actively maintained fork so we can proceed with the next major ESLint upgrade. The main breaking change is that all the rules are now registered in the import-x scope rather than import. As a result, the local ESLint config and disable directives need to be updated accordingly.

References

Screenshots or screen recordings

No visual changes.

How to set up and validate locally

  • yarn
  • yarn lint:eslint:all --no-cache

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Paul Gascou-Vaillancourt

Merge request reports

Loading
Loading