Skip to content

Latest commit

 

History

History
26 lines (22 loc) · 539 Bytes

README.md

File metadata and controls

26 lines (22 loc) · 539 Bytes

Introduction

ESLint configuration for micro-services built using Node.js and TypeScript.

The configuration extends @typescript-eslint/recommended, eslint-plugin-sonarjs, prettier ESLint configurations.

Installation

Using NPM

npm i --save-dev @oncehub/eslint-config

Using Yarn

yarn add --dev @oncehub/eslint-config

Usage

In your .eslintrc file, put @oncehub/eslint-config under extends array as shown below.

module.exports = {
  'extends': [
    '@oncehub/eslint-config'
  ]
};