Dialyxir.FilterMap (Dialyxir v1.4.8)

Copy Markdown View Source

A counters holding warnings to be skipped.

:counters points to a Map where the keys are warnings to be skipped and the value indicates how often the warning was skipped.

Summary

Functions

Retrieve the filters from a FilterMap.

Increase usage count of a filter in FilterMap.

Remove all non-allowed arguments from args.

Check if a FilterMap entry is unused.

List unused filters.

Determine if any filters were not used.

Functions

filters(filter_map)

Retrieve the filters from a FilterMap.

from_file(ignore_file, list_unused_filters?, ignore_exit_status?)

Fill a FilterMap from an ignore file.

inc(filter_map, filter)

Increase usage count of a filter in FilterMap.

to_args(args)

Remove all non-allowed arguments from args.

unused?(arg)

Check if a FilterMap entry is unused.

unused_filters(filter_map)

List unused filters.

unused_filters?(filter_map)

Determine if any filters were not used.