Description
If I have a file foo/bar.go explicitly covered by CODEOWNERS, e.g.
and I open a PR which deletes foo/bar.go, I'd like codeowners-validator to fail with a message saying something like:
File foo/bar.go does not exist, yet is covered in CODEOWENERS line 1 by the rule foo/bar.go @org/team
Reasons
You could argue that a CODEOWNERS file that contains rules for non-existent files is invalid. An error like above (maybe it's configurable) would prevent CODEOWNERS files from getting stale.