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

@privyid/eslint-config-persona

Package Overview
Dependencies
Maintainers
6
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@privyid/eslint-config-persona

Eslint shareable config for Persona project

  • 0.25.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
91
increased by26.39%
Maintainers
6
Weekly downloads
 
Created
Source

eslint-config-persona

Eslint shareable config for Persona project

Installation

First, Install all dependencies:

yarn add --dev \
  eslint \
  eslint-config-standard-with-typescript \
  eslint-formatter-pretty \
  eslint-plugin-align-assignments \
  eslint-plugin-import \
  eslint-plugin-n \
  eslint-plugin-node \
  eslint-plugin-promise \
  eslint-plugin-unicorn \
  eslint-plugin-varspacing \
  eslint-plugin-vue \
  typescript \
  @vue/eslint-config-typescript \
  @typescript-eslint/eslint-plugin \
  @typescript-eslint/parser \
  @privyid/eslint-config-persona

Then, add this to your .eslintrc file (create one if doesn't exist):

{
  "extends": ["@privyid/eslint-config-persona"],
  "parserOptions": { "project": "./tsconfig.json" }
}

Optional, add this to package.json script's:

{
  // ...
  "scripts": {
    // ...
    "lint": "eslint . --ext .js,.vue,.ts --format pretty",
    "fix": "yarn lint:js --fix",
    // ...
  }
  // ...
}

License

MIT License

Keywords

FAQs

Package last updated on 06 Nov 2023

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