Socket
Book a DemoInstallSign in
Socket

@vonage/eslint-config

Package Overview
Dependencies
Maintainers
43
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vonage/eslint-config

ESLint rules for Vonage

latest
Source
npmnpm
Version
1.3.1
Version published
Weekly downloads
32
60%
Maintainers
43
Weekly downloads
 
Created
Source

Vonage Eslint Configuration

Vonage

This is the Vonage JWT SDK for Node.js. This package helps create JWT tokens to use with Vonage APIs.

For full API documentation refer to developer.vonage.com.

Installation

With NPM

npm i -D @vonage/eslint-config

With Yarn

yarn add @vonage/eslint-config --dev

Usage

There are number of configurations that you can use based on the application.

Each configuration extends the base rules.

// eslint.config.js

import vonage from '@vonage/eslint-config';

export default [
  // Include all base rules for all JS projects
  ...vonage.configs.base,

  // Include all base rules for all TypeScript projects
  ...vonage.configs.typescript,

  // Include all base rules for all Jest projects
  ...vonage.configs.jest,

  // Include all base rules for all Node projects
  ...vonage.configs.node,
];

Note currently this is only for Node.js projects. Web projects are expected to be added in the future.

FAQs

Package last updated on 22 Aug 2024

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