Sherif is an opinionated linter designed specifically for JavaScript and TypeScript monorepos. Rather than analysing individual source-code expressions, it focuses on the structure and consistency of packages across a workspace.
The software is designed to work without an initial configuration file and supports projects managed with pnpm, npm, Yarn and Bun. It does not require node_modules to be installed merely to inspect a workspace, which helps keep checks lightweight and makes it useful in continuous integration environments.
Sherif examines package metadata and workspace definitions to identify inconsistencies that are easy to introduce as a monorepo grows. Configuration can be placed in the root package.json when projects need to modify the defaults, ignore particular packages or dependencies, or disable selected rules.
This is free and open source software.
Key Features
- Checks JavaScript and TypeScript monorepos for consistency problems.
- Works with pnpm, npm, Yarn and Bun workspaces.
- Detects multiple versions of the same dependency across packages.
- Checks related dependencies that should use matching versions.
- Identifies empty dependency sections in package manifests.
- Detects workspace paths that do not correspond to packages.
- Checks packages for missing
package.jsonfiles. - Verifies appropriate dependency placement in private packages.
- Checks that dependency entries are ordered consistently.
- Can automatically fix many reported problems.
- Lets users ignore individual rules, packages and dependencies.
- Supports configurable failure on warnings for continuous integration.
- Can store configuration in the root
package.json. - Does not require installed project dependencies to perform its normal checks.
Website: github.com/QuiiBz/sherif
Support:
Developer: Tom Lienard
License: MIT License
Sherif is written in JavaScript. Learn JavaScript with our recommended free books and free tutorials.
Related Software
| JavaScript Linter Tools | |
|---|---|
| ESLint | Find and fix problems in JavaScript code |
| Biome | Toolchain for web projects |
| standard | JavaScript style guide, linter, and formatter |
| Flow | Static type checker |
| OXCc | Tools for JavaScript and TypeScript |
| XO | Configurable ESLint wrapper |
| JSHint | Static code analysis tool |
| Sherif | Checks monorepo dependency consistency |
| RSLint | Easy to use JavaScript and TypeScript linter |
| JSLint | JavaScript code quality and coverage tool |
| neostandard | Successor to the standardjs javascript style guide |
| deno_lint | Rust crate for building fast JavaScript and TypeScript linters |
| quick-lint-js | Finds bugs in JavaScript programs |
| Putout | JavaScript linter, pluggable and configurable code transformer |
Read our verdict in the software roundup.
LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more. Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion. Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README. |


Please read our Comment Policy before commenting.