Closed EvanHahn closed 2 months ago
This enables ESLint's default-case and default-case-last rules to ensure that all switch statements end with a default.
default-case
default-case-last
switch
default
There was one spot where we weren't doing this, which I fixed.
I don't think so (not 100% sure). The only thing I could find was the TypeScript noFallthroughCasesInSwitch option, which wouldn't be worsened by this.
noFallthroughCasesInSwitch
This enables ESLint's
default-case
anddefault-case-last
rules to ensure that allswitch
statements end with adefault
.There was one spot where we weren't doing this, which I fixed.