Browse Source

Merge pull request #2356 from paulo-ferraz-oliveira/feature/xref_ignores_in_rebar_config_sample

Add xref_ignores to sample config file
pull/2154/merge
Fred Hebert 4 years ago
committed by GitHub
parent
commit
62b97215ae
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 0 deletions
  1. +9
    -0
      rebar.config.sample

+ 9
- 0
rebar.config.sample View File

@ -243,3 +243,12 @@
{xref_queries, {xref_queries,
[{"(XC - UC) || (XU - X - B" [{"(XC - UC) || (XU - X - B"
" - (\"mod\":\".*foo\"/\"4\"))",[]}]}. " - (\"mod\":\".*foo\"/\"4\"))",[]}]}.
%% You might want to exclude certains functions or modules from your
%% rebar3 xref analysis.
%% You can do so with the following option, that takes as list items
%% one or more of a combination of:
%% * module(),
%% * {module(), function()},
%% * {module(), function(), arity()}
{xref_ignores, []}.

Loading…
Cancel
Save