@privyid/eslint-config-persona
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

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

Package Sidebar

Install

npm i @privyid/eslint-config-persona

Weekly Downloads

137

Version

1.1.0

License

MIT

Unpacked Size

8.94 kB

Total Files

6

Last publish

Collaborators

  • adenvt
  • privy
  • afrijaldz
  • dipadipprv
  • william.wibowo
  • sghid
  • radya