Skip to content

Files

Latest commit

 

History

History
25 lines (15 loc) · 488 Bytes

max-public-structs.md

File metadata and controls

25 lines (15 loc) · 488 Bytes

Pattern: Too many public structs

Issue: -

Description

Packages declaring too many public structs can be hard to understand/use, and could be a symptom of bad design.

This rule warns on files declaring more than a configured, maximum number of public structs.

Configuration

(int) the maximum allowed public structs

Example:

[rule.max-public-structs]
  arguments =[3]

Further Reading