
Security News
Meet the Socket Team at RSAC and BSidesSF 2025
Join Socket for exclusive networking events, rooftop gatherings, and one-on-one meetings during BSidesSF and RSA 2025 in San Francisco.
@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.
The npm package @pinnacle0/eslint-plugin receives a total of 99 weekly downloads. As such, @pinnacle0/eslint-plugin popularity was classified as not popular.
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
Join Socket for exclusive networking events, rooftop gatherings, and one-on-one meetings during BSidesSF and RSA 2025 in San Francisco.
Security News
Biome's v2.0 beta introduces custom plugins, domain-specific linting, and type-aware rules while laying groundwork for HTML support and embedded language features in 2025.
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.