ESLint configuration for micro-services built using Node.js and TypeScript.
The configuration extends @typescript-eslint/recommended
, eslint-plugin-sonarjs
, prettier
ESLint configurations.
Using NPM
npm i --save-dev @oncehub/eslint-config
Using Yarn
yarn add --dev @oncehub/eslint-config
In your .eslintrc
file, put @oncehub/eslint-config
under extends
array as shown below.
module.exports = {
'extends': [
'@oncehub/eslint-config'
]
};