Skip to content

Files

Latest commit

 

History

History
27 lines (16 loc) · 484 Bytes

NoCodeInFile.md

File metadata and controls

27 lines (16 loc) · 484 Bytes

Pattern: No code in file

Issue: -

Description

Checks whether file contains code. Files which are considered to have no code:

  • File with no text
  • File with single line comment(s)
  • File with a multi line comment(s).

Examples

// single line comment // violation


/* // violation
 block comment
*/
     

Further Reading