You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

eslint-plugin-havven

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-havven

This repo contains custom eslint rules used in the Havven project.

1.1.0
latest
npmnpm
Version published
Weekly downloads
137
22.32%
Maintainers
1
Weekly downloads
 
Created
Source

Havven ESLint Plugin

This repo contains custom eslint rules used in the Havven project.

There's only one rule at the moment, which prevents code that looks like this:

assert.revert(/* some block or promise */);

The rule insists that the code looks like this instead:

await assert.revert(/* some block or promise */);

This is important, because without the await, the failure from assert.revert is simply discarded as a failing promise, and because of how mocha is set up in truffle, this doesn't print any warning or anything. So it's important that the project enforce that you can't call assert.revert without await in front of it.

FAQs

Package last updated on 20 Oct 2018

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.