A shared ESLint TypeScript configuration used at Qonto. It has TypeScript specific rules from @typescript-eslint/eslint-plugin.
@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.
Here is an example of a .eslintrc.js
file.
module.exports = {
extends: ["eslint:recommended"],
overrides: [
files: ['*.ts'],
extends: ["@qonto/eslint-config-typescript"],
]
};