# eslint-plugin-next-on-pages

> `eslint-plugin-next-on-pages` is an ESlint plugin intended to support developers developing Next.js application via `@cloudflare/next-on-pages`.

Latest version **1.13.16** (published 2025-09-04) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install eslint-plugin-next-on-pages
pnpm add eslint-plugin-next-on-pages
yarn add eslint-plugin-next-on-pages
bun add eslint-plugin-next-on-pages
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 1.13.16 |
| Published | 2025-09-04 |
| First published | 2023-06-26 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 39.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1491 |
| Maintainers | wrangler-publisher |
| Keywords | eslint, cloudflare, cloudflare pages, edge, nextjs, next-on-pages |

## Links

- npm: https://www.npmjs.com/package/eslint-plugin-next-on-pages
- Repository: https://github.com/cloudflare/next-on-pages
- Homepage: https://github.com/cloudflare/next-on-pages/blob/main/packages/eslint-plugin-next-on-pages/README.md
- Issues: https://github.com/cloudflare/next-on-pages/issues
- npm.io page: https://npm.io/package/eslint-plugin-next-on-pages

## Dependencies (2)

- [comment-parser](https://npm.io/package/comment-parser.md) ^1.3.1
- [@types/estree-jsx](https://npm.io/package/@types/estree-jsx.md) ^1.0.0

## Alternatives

- [eslint-plugin-sonarjs](https://npm.io/package/eslint-plugin-sonarjs.md) — 2.9M weekly downloads
- [eslint-config-expo](https://npm.io/package/eslint-config-expo.md) — 1.5M weekly downloads
- [@matter/protocol](https://npm.io/package/@matter/protocol.md) — 63.5K weekly downloads
- [@eventcatalog/linter](https://npm.io/package/@eventcatalog/linter.md) — 24.8K weekly downloads
- [@inrupt/eslint-config-base](https://npm.io/package/@inrupt/eslint-config-base.md) — 4.5K weekly downloads

## Recent versions

- 1.13.16 (latest) — 2025-09-04
- 0.0.0-2a55aaa (beta) — 2025-09-04
- 0.0.0-024b161 — 2025-09-04
- 0.0.0-f47365e — 2025-08-29
- 1.13.15 — 2025-08-29
- 0.0.0-7933c1a — 2025-08-29
- 0.0.0-b448f90 — 2025-08-18
- 1.13.14 — 2025-08-18
- 0.0.0-2f21b3a — 2025-08-18
- 0.0.0-b1f4eb3 — 2025-07-24
- 1.13.13 — 2025-07-24
- 0.0.0-3eb97bb — 2025-07-24
- 0.0.0-3d84ab0 — 2025-04-01
- 1.13.12 — 2025-04-01
- 0.0.0-3d651bc — 2025-04-01
- … 298 more at https://npm.io/package/eslint-plugin-next-on-pages/versions

## README

# `eslint-plugin-next-on-pages`

`eslint-plugin-next-on-pages` is an ESlint plugin intended to support developers developing Next.js application via `@cloudflare/next-on-pages`.

## Setup

To install the plugin run:

```sh
 npm i --save-dev eslint-plugin-next-on-pages@V
```

where `V` indicates the version of your `@cloudflare/next-on-pages` package.

> **Note**
> The `eslint-plugin-next-on-pages` package is versioned identically to `@cloudflare/next-on-pages`, this can be used to ensure that the two packages are in sync with each other. For best results make sure that the versions of the two packages are always the same.

Then simply register the plugin in your eslintrc file. As part of this we suggest to also extend the recommended configuration. After that you can also further tweak the available rules:

```diff
// .eslintrc.json
{
  "plugins": [
+    "next-on-pages"
  ],
  "extends": [
+    // apply the recommended rules
+    "plugin:next-on-pages/recommended"
  ],
  "rules": {
+    // specify or tweak the rules
+    "next-on-pages/no-unsupported-configs": "warn"
  }
}
```

## Rules

For more details check out the [rules documentation](https://github.com/cloudflare/next-on-pages/tree/main/packages/eslint-plugin-next-on-pages/docs/rules).

---
_Source: https://npm.io/package/eslint-plugin-next-on-pages · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
