ESLint functionality broke after a dependency update, requiring version compatibility checks.
The issue reports ESLint no longer working correctly after updating @wordpress/scripts, likely due to version mismatches with ESLint or configuration conflicts. The problem needs investigation into dependency compatibility and rule application. The main blocker is understanding the exact breaking change in the dependency chain.
ESLint plugin no longer works correctly for me, it does not recognize wordpress dependencies (probably related to #74630), but also does not recognize spacing and other wordpress-specific rules and falls back to prettier/prettier rules. I believe this is connected with recent updates of eslint version (8.3.0 -> 8.57.1), see #74316 , I updated @wordpress/scripts from version 31.1.0 to 31.5.0 and it stopped working.
Install @wordpress/[email protected] and set up config as described in docs for @wordpress/eslint-plugin. See if it works properly. Update @wordpress/[email protected] and see if there is difference in linting.
No response
No response
Claim this issue to let others know you're working on it. You'll earn 20 points when you complete it!