-
-
Notifications
You must be signed in to change notification settings - Fork 421
Report useless ternary operator #1706
Copy link
Copy link
Closed
Labels
HacktoberfestHactoberfest fun!Hactoberfest fun!good first issueEntrypoint to the projectEntrypoint to the projecthelp wantedExtra attention is neededExtra attention is neededlevel:starterGood for newcomersGood for newcomersrule requestAdding a new ruleAdding a new rule
Milestone
Metadata
Metadata
Assignees
Labels
HacktoberfestHactoberfest fun!Hactoberfest fun!good first issueEntrypoint to the projectEntrypoint to the projecthelp wantedExtra attention is neededExtra attention is neededlevel:starterGood for newcomersGood for newcomersrule requestAdding a new ruleAdding a new rule
Rule request
Thesis
Detect if both possible results of a ternary operator return the same value.
Reasoning
It is either a bug or unnecessary complexity.