Module single_use_hrls

A rule to detect header files used in just one module.

Behaviours: hank_rule.

Description

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

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.

Function Index

ignored/2It doesn't make sense to provide individual ignore spec support here.

Function Details

ignored/2

ignored(X1::hank_rule:ignore_pattern(), IgnoreSpec::term()) -> false

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


Generated by EDoc