-
Notifications
You must be signed in to change notification settings - Fork 10k
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 consistent-return
ESLint rule
#10805
Conversation
721c5cc
to
cc3131c
Compare
/botio test |
From: Bot.io (Linux m4)ReceivedCommand cmd_test from @Snuffleupagus received. Current queue size: 0 Live output at: http://54.67.70.0:8877/afb5f576ed4056e/output.txt |
From: Bot.io (Windows)ReceivedCommand cmd_test from @Snuffleupagus received. Current queue size: 0 Live output at: http://54.215.176.217:8877/832a075ecf53ad9/output.txt |
From: Bot.io (Linux m4)FailedFull output at http://54.67.70.0:8877/afb5f576ed4056e/output.txt Total script time: 17.59 mins
|
From: Bot.io (Windows)SuccessFull output at http://54.215.176.217:8877/832a075ecf53ad9/output.txt Total script time: 25.54 mins
|
/botio-linux preview |
From: Bot.io (Linux m4)ReceivedCommand cmd_preview from @timvandermeij received. Current queue size: 0 Live output at: http://54.67.70.0:8877/9d7df95dc07c0a7/output.txt |
From: Bot.io (Linux m4)SuccessFull output at http://54.67.70.0:8877/9d7df95dc07c0a7/output.txt Total script time: 1.82 mins Published |
This rule is already enabled in mozilla-central, and helps ensure more consistent functions/methods, see https://searchfox.org/mozilla-central/rev/b9da45f63cb567244933c77b2c7e827a057d3f9b/tools/lint/eslint/eslint-plugin-mozilla/lib/configs/recommended.js#119-120 Please see https://eslint.org/docs/rules/consistent-return for additional information.
cc3131c
to
173fbef
Compare
Looks good. Thank you! |
This rule is already enabled in mozilla-central, and helps ensure more consistent functions/methods, see https://searchfox.org/mozilla-central/rev/b9da45f63cb567244933c77b2c7e827a057d3f9b/tools/lint/eslint/eslint-plugin-mozilla/lib/configs/recommended.js#119-120
Please see https://eslint.org/docs/rules/consistent-return for additional information.