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

[Firefox addon] Enable the consistent-return ESLint rule (issue 7957) #7995

Merged
merged 1 commit into from
Jan 27, 2017
Merged

[Firefox addon] Enable the consistent-return ESLint rule (issue 7957) #7995

merged 1 commit into from
Jan 27, 2017

Conversation

Snuffleupagus
Copy link
Collaborator

@Snuffleupagus Snuffleupagus commented Jan 25, 2017

See http://eslint.org/docs/rules/consistent-return; it appears that I overlooked this rule in PR #7982.

Also adds the http://eslint.org/docs/rules/no-nested-ternary rule, which didn't require any code changes, since that rule is being enforced in mozilla-central.

Re: issue #7957.

@Snuffleupagus
Copy link
Collaborator Author

/botio-linux preview

@pdfjsbot
Copy link

From: Bot.io (Linux)


Received

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

Live output at: http://107.21.233.14:8877/52b061ce67debd8/output.txt

@pdfjsbot
Copy link

From: Bot.io (Linux)


Success

Full output at http://107.21.233.14:8877/52b061ce67debd8/output.txt

Total script time: 2.22 mins

Published

@Snuffleupagus Snuffleupagus changed the title [Firefox addon] Enable the consistent-return rule (issue 7957) [Firefox addon] Enable the consistent-return ESLint rule (issue 7957) Jan 25, 2017
Copy link
Contributor

@yurydelendik yurydelendik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the patch

See http://eslint.org/docs/rules/consistent-return; it appears that I overlooked this rule in PR 7982.

Also adds the http://eslint.org/docs/rules/no-nested-ternary rule, which didn't require any code changes, since that rule is being enforced in mozilla-central.

Re: issue 7957.
@Snuffleupagus
Copy link
Collaborator Author

/botio lint

@pdfjsbot
Copy link

From: Bot.io (Linux)


Received

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

Live output at: http://107.21.233.14:8877/fba252c080a05bc/output.txt

@pdfjsbot
Copy link

From: Bot.io (Windows)


Received

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

Live output at: http://107.22.172.223:8877/c9dd221476816c9/output.txt

@pdfjsbot
Copy link

From: Bot.io (Linux)


Success

Full output at http://107.21.233.14:8877/fba252c080a05bc/output.txt

Total script time: 1.37 mins

  • Lint: Passed

@pdfjsbot
Copy link

From: Bot.io (Windows)


Success

Full output at http://107.22.172.223:8877/c9dd221476816c9/output.txt

Total script time: 2.42 mins

  • Lint: Passed

@Snuffleupagus Snuffleupagus merged commit 2b84fb7 into mozilla:master Jan 27, 2017
@Snuffleupagus Snuffleupagus deleted the addon-eslint_consistent-return branch January 27, 2017 18:11
movsb pushed a commit to movsb/pdf.js that referenced this pull request Jul 14, 2018
…stent-return

[Firefox addon] Enable the `consistent-return` ESLint rule (issue 7957)
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