/ eslint Public
Warn about mixing logical and ternary operators #11704
There is consensus among the team that this change meets the criteria for inclusion
archived due to age
This issue has been archived; please open a new issue for any further discussion
This change enhances an existing feature of ESLint
Relates to ESLint's core rules
What rule do you want to change?
Does this change cause the rule to produce more or fewer warnings?
How will the change be implemented? (New option, new default behavior, etc.)?
new option with default behaviour to warn
Please provide some example code that this change will affect:
What does the rule currently do for this code?
it does not warn user about mixed logical and ternary expressions
What will the rule do after it's changed?
warn to use brackets around to make it explicit what the priority is
Are you willing to submit a pull request to implement this change?
nope, with this issue, I am just checking if this would make sense
Might be related to #7903
The text was updated successfully, but these errors were encountered: