SIGN IN SIGN UP
payloadcms / payload UNCLAIMED

Payload is the open-source, fullstack Next.js framework, giving you instant backend superpowers. Get a full TypeScript backend and admin panel instantly. Use Payload as a headless CMS or for building powerful applications.

0 0 0 TypeScript

style: run lint-staged commands in correct order (#15446)

Ensures lint-stages runs eslint first, then prettier. See
https://github.com/payloadcms/payload/pull/15445 for reasoning.

## Example

Input:

```ts
export function negate(n: number): number {
  if (n === 0) return 0
  return -n
}
```

Prettier > eslint output (Before this PR):

```ts
export function negate(n: number): number {
  if (n === 0) {return 0}
  return -n
}
```

Eslint > prettier output (After this PR):

```ts
export function negate(n: number): number {
  if (n === 0) {
    return 0
  }
  return -n
}
```
A
Alessio Gravili committed
731037ec4dfd0f76d5b94bf94f4b48a55d41aac6
Parent: f15b9a3
Committed by GitHub <noreply@github.com> on 2/2/2026, 5:44:31 PM