From c9d14e8dd0b1d7f2314c1d1884244e770c13f505 Mon Sep 17 00:00:00 2001 From: "Paulo F. Oliveira" Date: Mon, 14 Sep 2020 04:34:37 +0100 Subject: [PATCH] Make existing `rebar.config` option more visible and easier to find Especially for those that rely on the sample rebar.config from the get-go --- rebar.config.sample | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/rebar.config.sample b/rebar.config.sample index e069ed82..f4ce43fc 100644 --- a/rebar.config.sample +++ b/rebar.config.sample @@ -243,3 +243,12 @@ {xref_queries, [{"(XC - UC) || (XU - X - B" " - (\"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, []}.