Add sniff to require a colon after a case instruction

Created on 10 April 2025, 23 days ago

Problem/Motivation

The Coding standards project agreed to enforce a colon for the case statement.
Require using a colon after case instruction in switch statements Active

Steps to reproduce

Proposed resolution

Add a sniff

Remaining tasks

Review

User interface changes

API changes

Data model changes

📌 Task
Status

Active

Version

8.3

Component

Review/Rules

Created by

🇳🇿New Zealand quietone

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024