Expand description
long-file native rule — flags source files exceeding a line count threshold.
Excludes well-known lock files and paths matching the allow list configured
under [rules.rule."long-file"] allow = [...] in .normalize/config.toml.
§Configuration
[rules.rule."long-file"]
threshold = 300 # default: 500
allow = ["grammars/**"] # paths to skip (glob patterns)Structs§
- Long
File Finding - Serializable per-file finding for the long-file rule.
- Long
File Rule - Rule that flags source files exceeding a line count threshold.
Functions§
- build_
long_ file_ report - Build a
DiagnosticsReportfor thelong-filerule.