-
Notifications
You must be signed in to change notification settings - Fork 10.2k
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
[Firefox addon] Enable the consistent-return
ESLint rule (issue 7957)
#7995
Conversation
/botio-linux preview |
From: Bot.io (Linux)ReceivedCommand cmd_preview from @Snuffleupagus received. Current queue size: 0 Live output at: http://107.21.233.14:8877/52b061ce67debd8/output.txt |
From: Bot.io (Linux)SuccessFull output at http://107.21.233.14:8877/52b061ce67debd8/output.txt Total script time: 2.22 mins Published |
consistent-return
rule (issue 7957)consistent-return
ESLint rule (issue 7957)
There was a problem hiding this 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.
/botio lint |
From: Bot.io (Linux)ReceivedCommand cmd_lint from @Snuffleupagus received. Current queue size: 0 Live output at: http://107.21.233.14:8877/fba252c080a05bc/output.txt |
From: Bot.io (Windows)ReceivedCommand cmd_lint from @Snuffleupagus received. Current queue size: 0 Live output at: http://107.22.172.223:8877/c9dd221476816c9/output.txt |
From: Bot.io (Linux)SuccessFull output at http://107.21.233.14:8877/fba252c080a05bc/output.txt Total script time: 1.37 mins
|
From: Bot.io (Windows)SuccessFull output at http://107.22.172.223:8877/c9dd221476816c9/output.txt Total script time: 2.42 mins
|
…stent-return [Firefox addon] Enable the `consistent-return` ESLint rule (issue 7957)
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.