Back to directory
AndreaPontrandolfo avatar
AndreaPontrandolfo / sheriff

sheriff

A comprehensive and opinionated Typescript-first ESLint configuration.

182

Stars

9

Forks

3

Watchers

MIT

License

sheriff logo

Sheriff

✨ A comprehensive and opinionated TypeScript-first ESLint configuration ✨

npm downloads Libraries.io SourceRank
CodeFactor Contributor Covenant

🥳 Overview

This repository is a monorepo that hosts the sourcecode of the following projects:

Link Source Description Version
Sheriff docs website docs-website Sheriff documentation website
eslint-config-sheriff eslint-config-sheriff A comprehensive and opinionated TypeScript-first ESLint configuration npm
@sherifforg/create-config sheriff-create-config Package used to create Sheriff-based ESLint configs npm
@sherifforg/cli sheriff-cli The Sheriff CLI. Used to manage Sheriff-based ESLint configs npm

🚀 Quickstart

pnpm create @sherifforg/config

📋 Docs

Visit the official docs to learn more.

📝 Blog

You can follow the latest updates on the project in the official blog.

📈 Activity

Alt

💌 Acknowledgments

For some of this configuration, eslint-config-red was partially used as a base. Additionally, inspiration was drawn from eslint-config-airbnb for some of the rules in no-restricted-syntax.

I don't take any attribution for the rules in the various eslint-plugins used here (except for the few that I personally created).

Please consider starring the respective projects for the awesome work their authors made. Sheriff wouldn't be possible without their efforts.

Full list of the plugins integrated in Sheriff.

Releases

Minor Changes

4990e70: feat(config): added some rules and updated eslint-plugin-react-hooks

Minor Changes

0f4b223: fix: Fix CI workflow for OICD trusted publishing workflow Fixes #436

Minor Changes

9ff5542: feat: Replace typescript-eslint config() with ESLint built-in defineConfig() Closes #418