Skip to content

Files

Latest commit

 

History

History
18 lines (11 loc) · 438 Bytes

SpaceAfterWhile.md

File metadata and controls

18 lines (11 loc) · 438 Bytes

Pattern: Malformed space after while

Issue: -

Description

Checks that there is exactly one space (blank) after the while keyword and before the opening parenthesis.

Examples of violations:

while(true) { }             // violation
while  (true) { }           // violation

Further Reading