warning
curlyForces formatting of curly brace conventions
Examples
❌ Incorrect
(() => {
if (foo) return;
});
while (bar)
baz();
if (foo) {
baz();
} else qux();
✅ Correct
(() => {
if (foo) {
return;
}
});
while (bar) {
baz();
}
if (foo) {
baz();
} else {
qux();
}