single_use_hrls (rebar3_hank v2.0.0)
View SourceA rule to detect header files used in just one module.
To avoid this warning, include the content of the header file into the module.
Note
This rule assumes that hrl files will not be used outside your project. If you are writing a library that requires your clients to use some of your header files, you can add an ignore rule in
rebar.configfor it.
Summary
Functions
-spec ignored(hank_rule:ignore_pattern(), term()) -> false.
It doesn't make sense to provide individual ignore spec support here. The rule's basic unit is already a file.