Enable the unicorn/logical-assignment-operators ESLint plugin rule#21511
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #21511 +/- ##
==========================================
- Coverage 89.40% 89.39% -0.01%
==========================================
Files 262 262
Lines 66762 66746 -16
==========================================
- Hits 59690 59670 -20
- Misses 7072 7076 +4
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
/botio browsertest |
From: Bot.io (Windows)ReceivedCommand cmd_browsertest from @Snuffleupagus received. Current queue size: 0 Live output at: http://54.193.163.58:8877/7ef8c01be1a85aa/output.txt |
From: Bot.io (Linux m4)ReceivedCommand cmd_browsertest from @Snuffleupagus received. Current queue size: 0 Live output at: http://54.241.84.105:8877/dd11dbb6f8c955e/output.txt |
From: Bot.io (Linux m4)SuccessFull output at http://54.241.84.105:8877/dd11dbb6f8c955e/output.txt Total script time: 18.12 mins
|
From: Bot.io (Windows)SuccessFull output at http://54.193.163.58:8877/7ef8c01be1a85aa/output.txt Total script time: 25.27 mins
|
74ce8af to
046e68d
Compare
|
Looks good to me; thanks! |
Enable the
unicorn/logical-assignment-operatorsESLint plugin rulePlease see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/logical-assignment-operators.md and https://eslint.org/docs/latest/rules/logical-assignment-operators
Extend the
unicorn/logical-assignment-operatorsrule to if-statementsPlease see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/logical-assignment-operators.md and https://eslint.org/docs/latest/rules/logical-assignment-operators#enforceforifstatements
Note: Submitting as draft, since the second commit may not be desirable since it perhaps affects readability too much in some cases?