Skip to content

[docs] Error in [pagename] #1327

Open
Open
@bertrandchartier

Description

@bertrandchartier

What is the URL of the page?

devdocs/docs/apis/plugintypes/tiny/index.md

What is the issue with this page?

Hi,
Thanks for your documentation.
In the documentation of a tiny plugin, with the given content of plugin.js, i raise the error :
error Promise executor functions should not be async no-async-promise-executor

add :
// eslint-disable-next-line no-async-promise-executor
before the line :
export default new Promise(async(resolve) => {
solve the problem for me.
BC

Are you able to provide a patch for this?

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingdocumentationImprovements or additions to documentationhelp wantedExtra attention is neededneeds-triage

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions