Skip to content

Vonage-Community/vonage-eslint-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A Shared eslint config for eslint 9+

Resources

Stars

Watchers

Forks

Packages

No packages published