Skip to content
repopo is extremely new and likely has bugs. Use at your own risk!

repopo

Check repository conventions and fix violations.

Suppose your repository requires an MIT license field in each package.json. You can check that rule with repopo’s PackageJsonProperties policy instead of reviewing each file by hand.

Configure the policy, then run repopo check to find violations. Run repopo check --fix to correct them, and use the same check in CI to catch future violations. Install repopo and run your first check.

Lint-like rules

Apply lint-like rules to any file in your git repository, and fix many violations automatically with --fix.

Built-in policies

Over 50 policies for package.json, Cargo, Gleam, and general repository hygiene.

Custom policies

You can create your own policies as easily as writing a function.

Repository policies

Check rules that span many files, or a file that’s missing, once per run.