Lints a FuseSoC .core file's text and returns all findings.
fileExists and baseDir are both optional and only used to flag missing files
referenced under filesets.*.files. Omit either one (e.g. in tests) and that check
is skipped entirely — the function stays pure and performs no filesystem access.
Lints a FuseSoC
.corefile's text and returns all findings.fileExistsandbaseDirare both optional and only used to flag missing files referenced underfilesets.*.files. Omit either one (e.g. in tests) and that check is skipped entirely — the function stays pure and performs no filesystem access.