Shared ESLint config for projects using React.
Important
Configs now require to use the ESLint Flat Config format. See the migration guide for more information.
npm i -D eslint-config-cheminfo-react eslint
Create a eslint.config.mjs
file with the following contents:
import react from 'eslint-config-cheminfo-react';
export default [...react];
You can then customize the config for your project.
See https://github.com/cheminfo/eslint-config/tree/main?tab=readme-ov-file#typescript-and-react
This config extends our base eslint-config-cheminfo
JavaScript config.