Is there an eslint rule to check that ternary colons have a space around them? There is a multiline-ternary rule, but I can't find one about the spacing.
Example of bad formatting:
showAreas ? areas: undefined
// ^ missing a space
Example of good formatting:
showAreas ? areas : undefined
You can use this rule for enforcing spaces Space Infix Ops