{"library":"sherif","title":"Sherif: Zero-Config Monorepo Linter","description":"Sherif is an opinionated, zero-config linter designed specifically for TypeScript and JavaScript monorepos. It aims to standardize the developer experience (DX) and prevent regressions by enforcing a predefined set of rules across multiple packages within a single repository. Written in Rust for performance, Sherif operates efficiently without requiring `node_modules` to be installed, supporting all major package managers including PNPM, Bun, NPM, and Yarn. The current stable version is 1.11.1, with frequent minor releases indicating active development and maintenance. Key differentiators include its zero-configuration approach, cross-package manager compatibility, high execution speed, and robust autofix capabilities which can be run interactively or non- interactively via a `--select` flag for consistent dependency versioning.","language":"javascript","status":"active","last_verified":"Sun Apr 19","install":{"commands":["npm install sherif"],"cli":{"name":"sherif","version":null}},"imports":["npx sherif@latest","npx sherif@latest --fix","npx sherif@latest --fix --select highest"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"{\n  \"name\": \"my-monorepo-root\",\n  \"private\": true,\n  \"workspaces\": [\n    \"packages/*\"\n  ],\n  \"scripts\": {\n    \"lint:monorepo\": \"sherif\",\n    \"lint:monorepo:fix\": \"sherif --fix --select highest\"\n  },\n  \"sherif\": {\n    \"failOnWarnings\": true,\n    \"ignoreRule\": [\"root-package-manager-field\"],\n    \"rules\": {\n      \"multiple-dependency-versions\": true,\n      \"unsync-similar-dependencies\": true\n    }\n  }\n}\n\n// To run the linting:\n// npx sherif@latest\n// or using the script defined above:\n// npm run lint:monorepo\n\n// To run the autofix:\n// npm run lint:monorepo:fix","lang":"typescript","description":"Demonstrates `sherif` configuration in `package.json` for linting and autofixing monorepo issues, along with example `scripts` for execution.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}