Join GitHub today
Detect ternary operator in operator-linebreak rule #3274
Thanks for the issue! We get a lot of issues, so this message is automatically posted to each one to help you check that you've included all of the information we need to help you.
Reporting a bug? Please be sure to include:
Requesting a new rule? Please be sure to include:
Requesting a feature? Please be sure to include:
Including this information in your issue helps us to triage it and get you a response as quickly as possible.
IMO, common usage should influence the API or defaults; not prevent the rule from working correctly (detect & enforce position of operators).
Say one wants
don't match that rule?
If it's common for people to want
This could even be the default behavior. For me, the specific API is less important than detecting the improperly formatted code.