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
This commit is contained in:
Zaiming Shi 2020-11-03 13:28:24 +01:00
parent e1bbfa221c
commit a34bb3dab5
1 changed files with 12 additions and 0 deletions

View File

@ -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
]}.