-
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
Enable the ESLint no-unneeded-ternary
rule
#11505
Enable the ESLint no-unneeded-ternary
rule
#11505
Conversation
This rule is already enabled in mozilla-central, see https://searchfox.org/mozilla-central/rev/b04e3a28a2ef4dbf957018dbbdc1840d62fdbc32/tools/lint/eslint/eslint-plugin-mozilla/lib/configs/recommended.js#247-248 Please see https://eslint.org/docs/rules/no-unneeded-ternary for additional information.
/botio lint |
From: Bot.io (Windows)ReceivedCommand cmd_lint from @Snuffleupagus received. Current queue size: 0 Live output at: http://54.215.176.217:8877/afc464e88a20a91/output.txt |
From: Bot.io (Linux m4)ReceivedCommand cmd_lint from @Snuffleupagus received. Current queue size: 0 Live output at: http://54.67.70.0:8877/c633a9ba3d4d909/output.txt |
From: Bot.io (Linux m4)SuccessFull output at http://54.67.70.0:8877/c633a9ba3d4d909/output.txt Total script time: 1.15 mins
|
From: Bot.io (Windows)SuccessFull output at http://54.215.176.217:8877/afc464e88a20a91/output.txt Total script time: 2.67 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/cac93c8958f403c/output.txt |
From: Bot.io (Linux m4)SuccessFull output at http://54.67.70.0:8877/cac93c8958f403c/output.txt Total script time: 1.73 mins Published |
Nice, yet another rule enabled! |
This rule is already enabled in mozilla-central, see https://searchfox.org/mozilla-central/rev/b04e3a28a2ef4dbf957018dbbdc1840d62fdbc32/tools/lint/eslint/eslint-plugin-mozilla/lib/configs/recommended.js#247-248
Please see https://eslint.org/docs/rules/no-unneeded-ternary for additional information.