Sigasi Studio can check that the filename contains the name of at least one of the design unit names inside that file. Note that this check is ignored by default. You can enable it in the VHDL Errors/Warnings preference page (Style Validation > Filename must contain primary name).
This rule can be disabled for your project, or its severity can be modified in the project linting settings.
Manual configuration in