Create a content type with file field.
Create a view and link the title to the file and not the content type.
Exported view .yml file contains
title:
id: title
table: node_field_data
field: title
type: file_link
settings:
link_to_entity: false
Run the config inspector and it reported an error.
I did not expect it to report an error.
This prevents other profile tests from running, if the content type is part of a module which is required by the installed profile.