Skip to main content

🥳 Introduction

This is the official website of the open-source library Sheriff.

What is Sheriff?

Sheriff is a comprehensive ESLint configuration that supports many popular technologies.

warning

Sheriff is a TypeScript-first library, and as such, only supports TypeScript codebases written with modern ECMAScript standards. Vanilla JavaScript codebases are not supported for now. See the FAQ.

Key points

  • This library is pioneering in the adoption of the ESLint’s flat configuration system, introduced in ESLint v8.23.0
  • Sheriff is easy to both set up and use. It promotes a “zero overhead approach”. See: philosophy
  • Sheriff is a “plug & play” solution, but you can still customize it as much as you want. See: features

Trivia

The name “Sheriff” comes from the idea that it’s a tool that watches over your codebase to keep everything in order.

Ok, let’s do this

To get started, head over to the automatic setup guide and follow the instructions.