ESLint

ESLint rule set for checking code

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

Installation

pnpm add @payloadcms/eslint-plugin

About

ESLint Plugin is a set of lint rules for projects built on Payload. It runs inside the ESLint setup a project already uses, so Payload-specific code is checked during editing and in continuous integration. Teams that want consistent code across a Payload codebase can use it to catch problems before they reach review.

Package info

Package name
@payloadcms/eslint-plugin
Latest version
3.28.0
Unpacked size
18 kB
License
MIT
Weekly downloads
7.1k
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