From a34bb3dab5fe492eca9937cde1dd5e81d11a1098 Mon Sep 17 00:00:00 2001 From: Zaiming Shi Date: Tue, 3 Nov 2020 13:28:24 +0100 Subject: [PATCH] chore(xref): Ignore xref checks for enterprise and generated modules Schema registry is so far only used in enterprise edition. Ignore xref for generated modules for protobuf --- rebar.config | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/rebar.config b/rebar.config index acaa17a35..8999d9e97 100644 --- a/rebar.config +++ b/rebar.config @@ -49,3 +49,15 @@ , {rulesql, {git, "https://github.com/emqx/rulesql", {tag, "0.1.2"}}} , {getopt, "1.0.1"} ]}. + +{xref_ignores, + [ %% schema registry is for enterprise + {emqx_schema_registry,get_all_schemas,0}, + {emqx_schema_api,format_schema,1}, + {emqx_schema_api,make_schema_params,1}, + {emqx_schema_parser,decode,3}, + {emqx_schema_parser,encode,3}, + {emqx_schema_registry,add_schema,1}, + emqx_exhook_pb, % generated code for protobuf + emqx_exproto_pb % generated code for protobuf +]}.