eslint-plugin: fix: Cannot find module '../utils'#21609
eslint-plugin: fix: Cannot find module '../utils'#21609aduth merged 1 commit intoWordPress:masterfrom curtisbelt:fix/eslint-plugin-missing-utils
Conversation
|
Congratulations on your first merged pull request, @curtisbelt! We'd like to credit you for your contribution in the post announcing the next WordPress release, but we can't find a WordPress.org profile associated with your GitHub account. When you have a moment, visit the following URL and click "link your GitHub account" under "GitHub Username" to link your accounts: https://profiles.wordpress.org/me/profile/edit/ And if you don't have a WordPress.org account, you can create one on this page: https://login.wordpress.org/register Kudos! |
|
I made a quick follow-up commit at f4c44cd to include a CHANGELOG entry for this fix, since it may be useful reference for those looking to upgrade after the fix is published. |
|
The new version |
Description
Added
utilsto package.json "files" list. Without this,utilsfolder is missing, and you get an error when trying to run eslint:Error: Failed to load plugin '@wordpress/eslint-plugin' declared in '.eslintrc.js': Cannot find module '../utils'Fixes #21610