Related to issues inaka/elvis#507 and inaka/elvis#488.
Related to PR inaka/elvis_core#137.
Can be used to update the Rules wiki. Once the related PR is accepted.
Note: remove references to ignore_functions from the Wiki + move no_tabs, line_length and no_trailing_whitespace to elvis_text_style.
Tentative documentation follows.
The "ignore" option
Module-level rules implement a generic ignore mechanism that allows skipping analysis in elements of your choice.
It suffices to add the ignore list to your rules, as per the example below.
Related to issues inaka/elvis#507 and inaka/elvis#488. Related to PR inaka/elvis_core#137.
Can be used to update the Rules wiki. Once the related PR is accepted.
Note: remove references to
ignore_functions
from the Wiki + moveno_tabs
,line_length
andno_trailing_whitespace
toelvis_text_style
.Tentative documentation follows.
The "ignore" option
Module-level rules implement a generic ignore mechanism that allows skipping analysis in elements of your choice. It suffices to add the
ignore
list to your rules, as per the example below.You can add the exceptions using the following syntax:
ignore => [mod]
ignore => [{mod, fun}]
(available forelvis_style
-based rules only)ignore => [{mod, fun, arity}]
(available forelvis_style
-based rules only)