{"repo":"QuiiBz/sherif","free":true,"listed":false,"github":"https://github.com/QuiiBz/sherif","clone":"git clone https://github.com/QuiiBz/sherif.git","description":"Opinionated, zero-config linter for TypeScript & JavaScript monorepos","language":"JavaScript","stars":1183,"topics":["cli","javascript","linter","monorepo","typescript"],"license":"MIT","category":"cli-tools","readme_excerpt":"Sherif : Opinionated, zero-config linter for TypeScript & JavaScript monorepos --- About Sherif is an opinionated, zero-config linter for TypeScript & JavaScript monorepos. It runs fast in any monorepo and enforces rules to provide a better, standardized DX. Features - ✨ PNPM, Bun, NPM, Yarn... : sherif works with all package managers - 🔎 Zero-config : it just works and prevents regressions - ⚡ Fast : doesn't need node modules installed, written in 🦀 Rust Installation Run sherif in the root of your monorepo to list the found issues. By default, any error will cause Sherif to exit with a code 1: We recommend running Sherif in your CI once all errors are fixed. Run it by specifying a version instead of latest . This is useful to prevent regressions (e.g. when adding a library to a package but forgetting to update the version in other packages of the monorepo). When using the GitHub Action, it will search for a sherif script in the root package.json and use the same arguments automatically to avoid repeating them twice. You can override this behaviour with the args parameter. GitHub Actions example Autofix Most issues can be automatically fixed by using the --fix (or -f ) flag. Sherif will automatically run your package manager's install command (see No-install mode to disable this behavior) to update the lockfile. Note that autofix is disabled in CI environments (when $CI is set): Autofixing the multiple-dependency-versions rule By default, running --fix with the multiple-dep","default_branch":null,"files":null,"tree":[],"storefront":"/r/QuiiBz","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/QuiiBz/sherif/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}