You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@pinnacle0/eslint-plugin

Package Overview
Dependencies
Maintainers
4
Versions
83
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pinnacle0/eslint-plugin

This package provides customized eslint rules for Pinnacle and a baseline config for react/typescript projects.

0.4.32
latest
Source
npmnpm
Version published
Weekly downloads
30
1400%
Maintainers
4
Weekly downloads
 
Created
Source

@pinnacle0/eslint-plugin

This package provides customized eslint rules for Pinnacle and a baseline config for react/typescript projects.

Usage

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:

    $ pnpm install --dev \
      @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:

    $ pnpm lint
    

Upgrading

It is recommended to use the latest version of all packages.

  • To upgrade, run (use arrow keys and space to select packages):

    $ pnpm up -iLr
    
  • Commit your changes:

    $ git commit -am "Upgraded dependencies"
    
  • Review the changes of pnpm-lock.yaml if they make sense, then commit your changes:

    $ git commit -a --amend --no-edit
    

FAQs

Package last updated on 08 Jul 2025

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.