Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 839 Bytes

README.md

File metadata and controls

32 lines (22 loc) · 839 Bytes

@qonto/eslint-config-typescript

A shared ESLint TypeScript configuration used at Qonto. It has TypeScript specific rules from @typescript-eslint/eslint-plugin.

Installation

@qonto/eslint-config-typescript has a few peer dependencies that need to be installed alongside:

Install @qonto/eslint-config-typescript and its peer dependencies:

pnpm add -D @qonto/eslint-config-typescript eslint typescript

You can use the package manager of your choice.

Usage

Here is an example of a .eslintrc.js file.

module.exports = {
  extends: ["eslint:recommended"],
  overrides: [
    files: ['*.ts'],
    extends: ["@qonto/eslint-config-typescript"],
  ]
};