I’m not sure what the issue is. It’s not the case label and the assignment being on the same line, because it isn’t flagged for case 2 or 3. It’s not the curly being on the same line as the case label, because when I put a line break after the colon in SonarLint, the issue goes away (the flag on “switch” is for a missing default case):