1.0.0-rc.0 • Published 2 years ago

@qonto/eslint-config-typescript v1.0.0-rc.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

@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"],
  ]
};