🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

eslint-config-cheminfo

Package Overview
Dependencies
Maintainers
4
Versions
110
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-cheminfo

Shared ESLint config for cheminfo and ml.js projects

latest
Source
npmnpm
Version
17.0.0
Version published
Maintainers
4
Created
Source

eslint-config-cheminfo

Shared ESLint config for cheminfo and ml.js projects.

[!IMPORTANT]
Configs now require using the ESLint Flat Config format. See the migration guide for more information.

Installation

npm i -D eslint-config-cheminfo eslint

Usage

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

import { defineConfig } from 'eslint/config';
import cheminfo from 'eslint-config-cheminfo';

export default defineConfig(cheminfo);

You can then customise the config for your project.

Create ESLint scripts in your package.json:

{
  "scripts": {
    "eslint": "eslint src",
    "eslint-fix": "npm run eslint -- --fix"
  }
}

Exported configurations

This package exports three separate configurations:

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

Extensions of this config

TypeScript

https://github.com/cheminfo/eslint-config-cheminfo-typescript

React

https://github.com/cheminfo/eslint-config-cheminfo-react

TypeScript and React

To extend both the TypeScript and React configs, use the following template:

import { defineConfig } from 'eslint/config';
import typescript from 'eslint-config-cheminfo-typescript';
import react from 'eslint-config-cheminfo-react/base';

export default defineConfig(typescript, react);

FAQs

Package last updated on 11 Nov 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts