[docs] Error in [pagename]
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 74
- Forks
- 652
- Avg merge
- 2d 50m
- Merged PRs (30d)
- 12
Description
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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Open devdocs/docs/apis/plugintypes/tiny/index.md and inspect the plugin.js example around the async Promise executor. Confirm the no-async-promise-executor error, then update the documented example so the reported ESLint error is addressed and verify the snippet is correct.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 50/100