Skip to content

Un-Fix version constraint for wp-scripts #25

Open

Description

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

$ npm run lint:js

> label-printing@0.1.0 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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    PART WP coreWordPress core relatedbugSomething isn't workingdependencies3rd-party Dependencies

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions