CODEOWNERSfiles on your repo
npm install --global codeowners-enforcer
cargo install codeowners-enforcer
codeowners-enforcer works by finding your
CODEOWNERS file in a known
location as defined by GitHub.
Then it walks through your file tree asserting that every file has a code owner.
If any files don't have a code owner, it will return their relative paths and
Oops! Found files without CODEOWNERS! file.one path/to/file.two path/to/file.three Fix: Please delete these files, move them, or add owners to them in /path/to/CODEOWNERS
If you want to return just the file paths, pass
one.txt path/to/two.sh path/to/three.py
If you want to ignore files, pass
--ignore <pattern> or
codeowners-enforcer --ignore "path/**/*.py"
You can also pass multiple ignores:
codeowners-enforcer -i "path/**/*.py" -i "path/**/*.sh"
If you want to only check certain files, pass
codeowners-enforcer "**/*.sh" "**/*.py"
Enforce CODEOWNERS files on your repo
The npm package codeowners-enforcer receives a total of 754 weekly downloads. As such, codeowners-enforcer popularity was classified as not popular.
We found that codeowners-enforcer demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.