newline-before-case
Enforces a blank line between cases in a switch statement.
Example
❌ Bad:
final value = 'some-value';
switch (value) {
case '1': {
...
}
case '2': // LINT
...
case '3': // LINT
}
✅ Good:
final value = 'some-value';
switch (value) {
case '1': {
...
}
case '2':
case '3':
...
}