Sindre Sorhus
Sindre Sorhus
index.d.ts and readme should be in sync, specifically `setPriority`
Closing as out of scope. This would turn p-queue into an event bus. p-queue is feature-complete. Build this as a small wrapper on top or something new.
There could maybe be a `.setPriority(fn, {priority})` method that could accept the original function you passed to `.add()` (for ID purposes) and let you change the priority.
Name: `prefer-array-last-methods`?
Plash uses the built-in Safari, not Chrome. I tried showing Google Calendar in Plash and I'm not seeing any warnings like this.
> if (args[0] === '-h' || '--help') { I don't think I've ever seen this done before.
I think this could be part of the [`prefer-includes`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/master/docs/rules/prefer-includes.md) rule.
Let's first see if the other maintainers agree on this change.