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 consistent-return ESLint rule #10805

Merged
merged 1 commit into from
May 12, 2019

Conversation

Snuffleupagus
Copy link
Collaborator

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.

@Snuffleupagus
Copy link
Collaborator Author

/botio test

@pdfjsbot
Copy link

From: Bot.io (Linux m4)


Received

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

Live output at: http://54.67.70.0:8877/afb5f576ed4056e/output.txt

@pdfjsbot
Copy link

From: Bot.io (Windows)


Received

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

Live output at: http://54.215.176.217:8877/832a075ecf53ad9/output.txt

@pdfjsbot
Copy link

From: Bot.io (Linux m4)


Failed

Full output at http://54.67.70.0:8877/afb5f576ed4056e/output.txt

Total script time: 17.59 mins

  • Font tests: Passed
  • Unit tests: FAILED
  • Regression tests: Passed

@pdfjsbot
Copy link

From: Bot.io (Windows)


Success

Full output at http://54.215.176.217:8877/832a075ecf53ad9/output.txt

Total script time: 25.54 mins

  • Font tests: Passed
  • Unit tests: Passed
  • Regression tests: Passed

@timvandermeij
Copy link
Contributor

/botio-linux preview

@pdfjsbot
Copy link

From: Bot.io (Linux m4)


Received

Command cmd_preview from @timvandermeij received. Current queue size: 0

Live output at: http://54.67.70.0:8877/9d7df95dc07c0a7/output.txt

@pdfjsbot
Copy link

From: Bot.io (Linux m4)


Success

Full output at http://54.67.70.0:8877/9d7df95dc07c0a7/output.txt

Total script time: 1.82 mins

Published

gulpfile.js Show resolved Hide resolved
src/core/evaluator.js Show resolved Hide resolved
web/download_manager.js Show resolved Hide resolved
web/pdf_print_service.js Outdated Show resolved Hide resolved
@timvandermeij timvandermeij merged commit fef86cc into mozilla:master May 12, 2019
@timvandermeij
Copy link
Contributor

Looks good. Thank you!

@Snuffleupagus Snuffleupagus deleted the consistent-return branch May 12, 2019 17:22
@mozilla mozilla deleted a comment May 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants