Anthony's opinionated taste with curly. Simliar to eslint's builtin curly: ['error', 'multi-or-nest', 'consistent']
but allows both curly and non-curly on one-liner. This rule is not configurable.
// 👍 ok
if (foo) {
bar()
}
// 👍 ok
if (foo)
bar()
// 👎 bad
if (foo)
const obj = {
bar: 'bar'
}