Socket
Socket
Sign inDemoInstall

eslint-plugin-havven

Package Overview
Dependencies
0
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

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.


Version published
Weekly downloads
30
decreased by-9.09%
Maintainers
1
Install size
5.30 kB
Created
Weekly downloads
 

Readme

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

Last updated on 20 Oct 2018

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc