Open TrevorKarjanis opened 2 years ago
Indentation for switch cases defaults to 0. Our rule should be the following to enforce four spaces.
'indent': ['error', 4, { SwitchCase: 1 }]
This seems like the right direction but we're confused why several codebases don't override our config but still indent their switch cases. @jattasNI to investigate and propose a rule change.
Indentation for switch cases defaults to 0. Our rule should be the following to enforce four spaces.