Socket
Book a DemoInstallSign in
Socket

@privyid/eslint-config-persona

Package Overview
Dependencies
Maintainers
7
Versions
45
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

latest
Source
npmnpm
Version
1.2.0
Version published
Weekly downloads
58
-57.35%
Maintainers
7
Weekly downloads
 
Created
Source

eslint-config-persona

Eslint shareable config for Persona project

Installation

First, Install all dependencies:

yarn add --dev \
  eslint@8.57.0 \
  eslint-config-standard-with-typescript@21.0.1 \
  eslint-formatter-pretty@5.0.0 \
  eslint-plugin-align-assignments@1.1.2 \
  eslint-plugin-import@2.29.1 \
  eslint-plugin-n@16.6.2 \
  eslint-plugin-node@11.1.0 \
  eslint-plugin-promise@6.1.1 \
  eslint-plugin-unicorn@48.0.1 \
  eslint-plugin-varspacing@1.2.2 \
  eslint-plugin-vue@9.23.0 \
  typescript@5.4.5 \
  @vue/eslint-config-typescript@13.0.0 \
  @typescript-eslint/eslint-plugin@5.62.0 \
  @typescript-eslint/parser@5.62.0 \
  @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

eslint

FAQs

Package last updated on 29 Apr 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