
Security News
Next.js Patches Critical Middleware Vulnerability (CVE-2025-29927)
Next.js has patched a critical vulnerability (CVE-2025-29927) that allowed attackers to bypass middleware-based authorization checks in self-hosted apps.
@pinnacle0/eslint-plugin
Advanced tools
This package provides customized eslint rules for Pinnacle and a baseline config for react/typescript projects.
This package provides customized eslint rules for Pinnacle and a baseline config for react/typescript projects.
This package includes a config which wraps multiple other eslint plugins and presets.
For our config to work properly, @pinnacle0/eslint-plugin
has to be installed along with
all these plugins and presets ("peer dependencies").
Install @pinnacle0/eslint-plugin and the required peer dependencies:
$ yarn add --dev --exact \
@pinnacle/eslint-plugin \
eslint \
@typescript-eslint/parser \
@typescript-eslint/eslint-plugin \
eslint-config-prettier \
eslint-plugin-react \
eslint-plugin-react-hooks \
eslint-plugin-import \
eslint-plugin-eslint-comments
Create .eslintrc.js
at the project root directory:
module.exports = {
extends: ["plugin:@pinnacle0/baseline"],
};
Add lint
script to package.json
:
{
// ...
"scripts": {
// ...
"lint": "eslint --ext .js,.jsx,.ts,.tsx ."
}
}
Run linter:
$ yarn lint
It is recommended to use the latest version of all packages.
To upgrade, run (use arrow keys and space to select packages):
$ yarn upgrade-interactive --latest
Commit your changes:
$ git commit -am "Upgraded dependencies"
To make sure transitive dependencies locked by yarn.lock
can also be upgraded, run:
$ npx yarn-deduplicate
Review the changes of yarn.lock
if they make sense, then commit your changes:
$ git commit -a --amend --no-edit
FAQs
This package provides customized eslint rules for Pinnacle and a baseline config for react/typescript projects.
We found that @pinnacle0/eslint-plugin demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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
Next.js has patched a critical vulnerability (CVE-2025-29927) that allowed attackers to bypass middleware-based authorization checks in self-hosted apps.
Security News
A survey of 500 cybersecurity pros reveals high pay isn't enough—lack of growth and flexibility is driving attrition and risking organizational security.
Product
Socket, the leader in open source security, is now available on Google Cloud Marketplace for simplified procurement and enhanced protection against supply chain attacks.