ESLint Config

Shared ESLint flat config for Payload projects and plugins

Official 45,915 7.6k/wk MIT v3.28.0

Installation

pnpm add @payloadcms/eslint-config

About

ESLint Config gives Payload projects and plugins a ready-made lint setup, so the team does not have to write rules for Payload code from scratch. It is a flat config you spread into your own ESLint configuration file and then override where your project needs something different. The rules cover TypeScript source in a Payload codebase, and the shared setup keeps lint behaviour the same across several repositories. It is aimed at maintainers of Payload plugins and apps who want consistent linting without maintaining their own rule set.

Package info

Package name
@payloadcms/eslint-config
Latest version
3.28.0
Unpacked size
24 kB
License
MIT
Weekly downloads
7.6k
Last publish
Mar 11, 2025

More from payloadcms

View profile

Stores Payload upload files in Cloudflare R2 buckets instead of local disk

Adds a parent field and breadcrumbs to collections so documents can nest inside each other

Sends Payload server errors and selected HTTP errors to Sentry with user context

Adds an SEO tab with meta title, description, image and search preview to collections

Stores collection uploads in Vercel Blob Storage instead of local disk

Lets one Payload admin panel manage content for many separate tenants

Similar tools

More in Dev workflow

Stateful test emulator of the Payload collection REST API with seeded data

Editor support for Payload component paths, with import checks and autocomplete

Governance checks and ESLint rules for Payload project structure, access code and hooks

Manifest, linter and Payload block generator for a design system's components

Automated code transforms that move a Payload project past breaking changes

Idempotent seed runner that fills a Payload database with ordered, cross-referenced content