Skip to main content

monorepolint

monorepo consistency made easy

monorepolint logo - stacked washing machines representing lint cleaning
$ mrl check
❌ @myapp/frontend: Incorrect order of dependencies in package.json
❌ @myapp/backend: Missing required script "test" in package.json
$ mrl check --fix
βœ… @myapp/frontend: Fixed order of dependencies in package.json
βœ… @myapp/backend: Added required script "test" to package.json

Why Monorepolint?

Large monorepos are powerful but hard to maintain. Monorepolint makes it easy to enforce consistent patterns across all your packages.

πŸ“¦

Dependency Management

Keep dependencies organized and consistent across all packages. Automatically sort alphabetically, enforce version consistency, and ban problematic packages.

βš™οΈ

Configuration Validation

Ensure TypeScript configs, package.json files, and build scripts remain consistent. Prevent configuration drift before it becomes a problem.

πŸ”§

Automated Fixing

Don't just find problemsβ€”fix them automatically. Most consistency issues can be resolved with a single command: mrl check --fix

🎯

Custom Rules

Create your own rules for project-specific patterns. Built with TypeScript for full IDE support and type safety.

πŸš€

CI/CD Ready

Integrate seamlessly with your CI/CD pipeline. Prevent inconsistencies from reaching your main branch with automated checks.

πŸ”“

Zero Lock-in

Works with your existing tools and workflows. No need to change your build system, package manager, or development process.

Get Started in 5 Minutes

Add monorepolint to your project and start enforcing consistency across your monorepo immediately.

# Install monorepolint
npm install monorepolint

# Add basic configuration
echo 'import {
  alphabeticalDependencies,
  packageOrder
} from "@monorepolint/rules";

export default {
  rules: [
    packageOrder({}),
    alphabeticalDependencies({}),
  ],
};' > .monorepolint.config.mjs

# Check your monorepo
npx mrl check

# Fix issues automatically
npx mrl check --fix

Ready to Get Started?

Join the teams who've already improved their monorepo consistency with monorepolint.

Install Monorepolint