Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

eslint-config-cheminfo

Package Overview
Dependencies
Maintainers
0
Versions
101
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

  • 12.0.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2.9K
increased by2.5%
Maintainers
0
Weekly downloads
 
Created
Source

eslint-config-cheminfo

Shared ESLint config for cheminfo and ml.js 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 eslint

Usage

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

import cheminfo from 'eslint-config-cheminfo';

export default [...cheminfo];

You can then customize 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 typescript from 'eslint-config-cheminfo-typescript';
import react from 'eslint-config-cheminfo-react/base';

export default [...typescript, ...react];

FAQs

Package last updated on 07 Oct 2024

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc