Skip to content

Latest commit

 

History

History
22 lines (13 loc) · 472 Bytes

file-header.md

File metadata and controls

22 lines (13 loc) · 472 Bytes

Pattern: Inconsistent file header

Issue: -

Description

This rule helps to enforce a common header for all source files in a project by spotting those files that do not have the specified header.

Configuration

(string) the header to look for in source files.

Example:

[rule.file-header]
  arguments =["This is the text that must appear at the top of source files."]

Further Reading