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

eslint-config-cheminfo

Package Overview
Dependencies
Maintainers
6
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

  • 2.0.1
  • Source
  • npm
  • Socket score

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

eslint-config-cheminfo

Shared ESLint config for cheminfo and ml.js projects.

Installation

npx install-peerdeps --dev eslint-config-cheminfo

Usage

Create a .eslintrc.yml with the following contents:

extends: cheminfo

You can then customize the config for your project by changing rules in this file.

Extensions of this config

TypeScript

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

React

https://github.com/neptunejs/eslint-config-neptune-react

FAQ

jest/expect-expect is flagging my test but I assert in an external function

See https://github.com/jest-community/eslint-plugin-jest/blob/master/docs/rules/expect-expect.md#assertfunctionnames

You can override this by adding a comment like this at the top of your test file:

/* eslint jest/expect-expect: ["error", { "assertFunctionNames": ["expect", "functionThatCallsExpect"] }] */

FAQs

Package last updated on 24 Jul 2019

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