eslint-plugin
eslint-plugin copied to clipboard
Rule: `prefer-condition-over-split`
patronum/condition is more clear way to write simple split with two cases. This rule will replace split-call with condition-call.
what about greedy?
what about
greedy?
Sorry, could you explain your concern, please?
what about
greedy?Sorry, could you explain your concern, please?
So if I use condition over split but need greedy in my case? As I know there is no opportunity to use greedy with condition
@45m0d3u5 You can open an issue in patronum to add the greedy option