Skip to content

cheminfo/eslint-config-cheminfo-typescript

Repository files navigation

eslint-config-cheminfo-typescript

Shared ESLint config for TypeScript projects.

Important

Configs now require to use the ESLint Flat Config format. See the migration guide for more information.

Installation

npm i -D eslint-config-cheminfo-typescript eslint

Usage

Create a eslint.config.mjs file with the following contents:

import cheminfo from 'eslint-config-cheminfo-typescript';

export default [...cheminfo];

You can then customize the config for your project.

Exported configurations

This package exports three separate configurations:

The default export from eslint-config-cheminfo-typescript combines all of them.

References

This config extends our eslint-config-cheminfo JavaScript config.