require-codeowners

0.2.0 • Public • Published

require-codeowners

A simple CLI tool to check that repository folders are covered by explicit codeowners.

Useful when you have a repository maintained by several teams, but you want to ensure a set of folders are actually owned, and don't fall through to the global code owners.

Use

Executed from the respository you want to check:

yarn add -D require-codeowners

yarn require-codeowners "./packages/*"

If the command detects any matches to the glob that are not codeowned, it will exit with a non-zero exit code and list the matches not covered.

Tips

  • Make sure the glob pattern is enclosed in quotes
  • It's a good idea to be very specific with your glob pattern, there is no need to check every file or sub-directory below the level you're interested in

Readme

Keywords

none

Package Sidebar

Install

npm i require-codeowners

Weekly Downloads

1

Version

0.2.0

License

MIT

Unpacked Size

13.5 kB

Total Files

11

Last publish

Collaborators

  • aimee.gm