Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
eslint-plugin-next-on-pages
Advanced tools
`eslint-plugin-next-on-pages` is an ESlint plugin intended to support developers developing Next.js application via `@cloudflare/next-on-pages`.
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
.
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"
}
}
For more details check out the rules documentation.
FAQs
`eslint-plugin-next-on-pages` is an ESlint plugin intended to support developers developing Next.js application via `@cloudflare/next-on-pages`.
We found that eslint-plugin-next-on-pages demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.