View Source single_use_hrls (rebar3_hank v1.4.1)

A 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

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.config for it.

Link to this section Summary

Functions

It doesn't make sense to provide individual ignore spec support here. The rule's basic unit is already a file.

Link to this section 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.