Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Un-Fix version constraint for wp-scripts #25

Open
carstingaxion opened this issue Oct 11, 2023 · 1 comment
Open

Un-Fix version constraint for wp-scripts #25

carstingaxion opened this issue Oct 11, 2023 · 1 comment
Labels
bug Something isn't working dependencies 3rd-party Dependencies PART WP core WordPress core related

Comments

@carstingaxion
Copy link
Member

Version 26.13.0 knows about {WPElement}, version 26.14.0 does not, which leads to useless errors.

$ npm run lint:js

> [email protected] lint:js
> wp-scripts lint-js


/shared/httpd/figuren/repositories/label-printing/src/block-editor/blocks/label-printing/edit.js
  33:1  error  The type 'WPElement' is undefined  jsdoc/no-undefined-types

/shared/httpd/figuren/repositories/label-printing/src/block-editor/blocks/label-printing/save.js
  16:1  error  The type 'WPElement' is undefined  jsdoc/no-undefined-types

/shared/httpd/figuren/repositories/label-printing/src/block-editor/blocks/label-proxy/edit.js
  12:1  error  The type 'WPElement' is undefined  jsdoc/no-undefined-types

/shared/httpd/figuren/repositories/label-printing/src/block-editor/blocks/label-proxy/save.js
  8:1  error  The type 'WPElement' is undefined  jsdoc/no-undefined-types

✖ 4 problems (4 errors, 0 warnings)
@carstingaxion
Copy link
Member Author

Probably the source of evil:
grafik

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working dependencies 3rd-party Dependencies PART WP core WordPress core related
Projects
Status: No status
Development

No branches or pull requests

1 participant