1.3.1 • Published 11 months ago

@vonage/eslint-config v1.3.1

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
11 months ago

Vonage Eslint Configuration

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.

1.3.1

11 months ago

1.3.0

11 months ago

1.2.0

1 year ago

1.1.0

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago