Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

eslint-plugin-next-on-pages

Package Overview
Dependencies
Maintainers
1
Versions
285
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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`.

  • 1.13.7
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
25K
increased by9.21%
Maintainers
1
Weekly downloads
 
Created
Source

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:

 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:

// .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.

Keywords

FAQs

Package last updated on 09 Dec 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc