codeowners
codeowners copied to clipboard
🔒 Command line tool and Go library for CODEOWNERS files
This commit adds a distinction between files that are not owned by anyone and files that are not matched by any rule in the CODEOWNERS file. Useful for linting CODEOWNERS...
- added section support with or without approval count and optional flag - refactored cmd/main.go for cleaner ParseOptions passing ([see](https://github.com/hmarr/codeowners/compare/main...rwese:support-gitlab-sections?expand=1#diff-2cc3a1b72c1e0ad4c9da8c7601c75cbfc3c28f3d987bc43ed9fbf6ae4fa38444L122-L126)) If there are changes you need let me know.
It appears that `codeowners` assumes it is running in the main work tree. When run in a non-main work tree, its results differ vastly from those in the main work...