Managing monorepos at scale? Donβt miss Sherif β an opinionated, zero-config linter for JavaScript monorepos that enforces consistency, improves DevX, and prevents regressions.
π‘ Why Sherif?
-
β‘ Fast β Written in Rust, no need for
node_modules -
π§ Zero-config β Works out-of-the-box
-
π¦ Compatible with all major package managers β
pnpm,npm,yarn -
β CI-friendly β Catch issues early
-
π οΈ Auto-fix support β Automatically fixes common issues

π Example: Ignore known issues in a specific package
pnpm dlx sherif@latest \
-r packages-without-package-json \
-p @yourcompany/ui \
--fix \
--no-install
Explanation:
-
-r: Apply rule packages-without-package-json
-
-p @yourcompany/ui: Ignore all issues in UI folder/package
-
--fix: Autofix applicable issues
-
--no-install: Skip running install after fixes
βοΈ Run in CI
There is an example of aΒ GitHub ActionΒ that auto-runs on PRs.
Conclusion
Sherif is a simple, powerful way to keep your monorepo in shape β highly recommended if youβre managing multiple packages.
π Try it: https://github.com/QuiiBz/sherif
