-
Notifications
You must be signed in to change notification settings - Fork 5k
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
Fix no-negated-condition issues #9222
Fix no-negated-condition issues #9222
Conversation
See [`no-negated-condition`](https://eslint.org/docs/rules/no-negated-condition) for more information. This change enables `no-negated-condition` and fixes the issues raised by the rule.
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.
LGTM!
}) : '' | ||
const dimensions = pageOpts.hideDimensions | ||
? '' | ||
: ( |
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.
I'm curious about the parentheses introduced here - they don't seem to be required 🤔
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.
LGTM
* origin/develop: (107 commits) Clear Account Details in AppState (#9238) Permit all-caps addresses (#9227) Send web3 usage metrics once per origin/property (#9237) Fix import/no-extraneous-dependencies issues (#9232) Remove unused buyEth fn from bg (#9236) Fix max-statements-per-line issues (#9218) Consolidate ESLint config files (#9231) Delete page-container.component.test.js (#9229) Tidy up getAccountLink (#9223) Tidy ConnectHardwareForm#checkIfUnlocked (#9224) Fix require-unicode-regexp issues (#9212) Fix no-negated-condition issues (#9222) Fix no-empty-function issues (#9216) Fix import/extensions issues (#9217) Dedupe glob-parent versions (#9220) Fix no-template-curly-in-string issues (#9221) Fix no-process-exit issues (#9219) Fix prefer-rest-params issues (#9215) Fix no-prototype-builtins issues (#9213) Fix no-nested-ternary issues (#9214) ...
Refs #8982
See
no-negated-condition
for more information.This change enables
no-negated-condition
and fixes the issues raised by the rule.