/sheriff

A comprehensive and opinionated Typescript-first ESLint configuration.

Primary LanguageTypeScriptMIT LicenseMIT

Sheriff

โœจ A comprehensive and opinionated Typescript-first ESLint configuration โœจ

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

๐Ÿš€ Getting Started

Visit the official docs to get started with Sheriff.

๐Ÿ“ Updates

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

๐Ÿงก Contributing

Suggestions

I consider Sheriff a community effort, and I welcome suggestions and contributions of any kind. Feel free to propose suggestions about new rules to implement, or tweaks to existing rules.
Please use the discussions tab or the issues tab for new rules proposals.

Development

  1. Clone this repository
  2. Enable Corepack using corepack enable
  3. Install dependencies using pnpm install
  4. Do the changes

๐ŸŒค Changelog

Releases.

๐Ÿ’Œ 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.
The full list of the plugins used is here.