eslint-config-cheminfo-react v16.0.0
eslint-config-cheminfo-react
Shared ESLint config for projects using React.
!IMPORTANT
Configs now require using the ESLint Flat Config format. See the migration guide for more information.
Installation
npm i -D eslint-config-cheminfo-react eslint
Usage
In JavaScript projects
Create a eslint.config.mjs
file with the following contents:
import { defineConfig } from 'eslint/config';
import react from 'eslint-config-cheminfo-react';
export default defineConfig(react);
You can then customise the config for your project.
In TypeScript projects
See https://github.com/cheminfo/eslint-config/tree/main?tab=readme-ov-file#typescript-and-react
References
This config extends our base eslint-config-cheminfo
JavaScript config.
3 months ago
7 months ago
9 months ago
12 months ago
12 months ago
12 months ago
1 year ago
1 year ago
1 year ago
2 years ago
2 years ago
2 years ago
2 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago