Scripts: wp-scripts lint-js
Breaks After v16.1.4
#34297
Labels
[Status] In Progress
Tracking issues with work in progress
[Tool] ESLint plugin
/packages/eslint-plugin
[Tool] WP Scripts
/packages/scripts
[Type] Bug
An existing feature does not function as intended
Description
After updating
@wordpress/scripts
from16.1.4
to17.0.0
or higher (currently at18.0.0
), the JS linter breaks with the following result:Upon initial investigation, I think the
@wordpress/eslint-plugin/jsdoc
preset may be causing this issue. It’s a part of@wordpress/eslint-plugin/recommended
used by default in@wordpress/scripts
’ ESLint config.Step-by-step reproduction instructions
Clone the test repository, then run:
Screenshots, screen recording, code snippet
No response
Environment info
Gutenberg not installed.
The test repository also includes
eslint-plugin-import
, but that’s primarily to keep the project config as identical to the project config as possible.Pre-checks
The text was updated successfully, but these errors were encountered: