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

Enable the no-async-promise-executor ESLint rule #11133

Merged

Conversation

Snuffleupagus
Copy link
Collaborator

This rule is in the process of being rolled out in mozilla-central, and it helps avoid unnecessary async functions together with new Promise(...).

Please see https://eslint.org/docs/rules/no-async-promise-executor for additional information.

This rule is in the process of being rolled out in mozilla-central, and it helps avoid unnecessary `async` functions together with `new Promise(...)`.

Please see https://eslint.org/docs/rules/no-async-promise-executor for additional information.
@Snuffleupagus
Copy link
Collaborator Author

/botio lint

@pdfjsbot
Copy link

From: Bot.io (Windows)


Received

Command cmd_lint from @Snuffleupagus received. Current queue size: 0

Live output at: http://54.215.176.217:8877/3e9af683b7b6619/output.txt

@pdfjsbot
Copy link

From: Bot.io (Linux m4)


Received

Command cmd_lint from @Snuffleupagus received. Current queue size: 0

Live output at: http://54.67.70.0:8877/0b84b71b55527d2/output.txt

@pdfjsbot
Copy link

From: Bot.io (Linux m4)


Success

Full output at http://54.67.70.0:8877/0b84b71b55527d2/output.txt

Total script time: 0.91 mins

  • Lint: Passed

@pdfjsbot
Copy link

From: Bot.io (Windows)


Success

Full output at http://54.215.176.217:8877/3e9af683b7b6619/output.txt

Total script time: 2.44 mins

  • Lint: Passed

@timvandermeij timvandermeij merged commit 7f55676 into mozilla:master Sep 10, 2019
@timvandermeij
Copy link
Contributor

More linting is always good. Thanks!

@Snuffleupagus Snuffleupagus deleted the ESLint_no-async-promise-executor branch September 11, 2019 07:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants