Sherif – zero-config linter for JavaScript and TypeScript monorepos

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.json files.
  • 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
ESLintFind and fix problems in JavaScript code
BiomeToolchain for web projects
standardJavaScript style guide, linter, and formatter
FlowStatic type checker
OXCcTools for JavaScript and TypeScript
XOConfigurable ESLint wrapper
JSHintStatic code analysis tool
SherifChecks monorepo dependency consistency
RSLintEasy to use JavaScript and TypeScript linter
JSLintJavaScript code quality and coverage tool
neostandardSuccessor to the standardjs javascript style guide
deno_lintRust crate for building fast JavaScript and TypeScript linters
quick-lint-jsFinds bugs in JavaScript programs
PutoutJavaScript linter, pluggable and configurable code transformer

Read our verdict in the software roundup.


Best Free and Open Source Software 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.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted