ESLint Config

Shared ESLint flat config for JS and TypeScript, with Payload and Svelte rules

Community 1 27/wk MIT v0.0.9

Installation

pnpm add @ainsleydev/eslint-config

About

This is the ESLint setup used across ainsley.dev projects, published so other JavaScript and TypeScript codebases can reuse the same lint rules. It covers recommended JavaScript and TypeScript checks, consistent import ordering, and formatting conflicts handed off to a separate formatter. Payload projects get an extra set of Payload-specific rules, and Svelte projects get Svelte rules with a compile check. It is a config package, so the rules apply as soon as a project loads it.

Package info

Package name
@ainsleydev/eslint-config
Latest version
0.0.9
Unpacked size
6 kB
License
MIT
Weekly downloads
27
Last publish
Oct 23, 2025

More from ainsleydev

View profile

SvelteKit components and utilities for grids, navigation and Payload forms

Collections, globals, email templates and utilities for common Payload site builds

Composable React Email building blocks and a theme system for transactional emails

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