Socket
Socket
Sign inDemoInstall

@nomiclabs/hardhat-solhint

Package Overview
Dependencies
316
Maintainers
4
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @nomiclabs/hardhat-solhint

Hardhat plugin for solhint


Version published
Weekly downloads
5.2K
decreased by-30.9%
Maintainers
4
Install size
35.2 MB
Created
Weekly downloads
 

Readme

Source

npm hardhat

hardhat-solhint

Hardhat plugin for integration with solhint linter.

What

This plugin runs solhint on the project's sources and prints the report.

Installation

npm install --save-dev @nomiclabs/hardhat-solhint

And add the following statement to your hardhat.config.js:

require("@nomiclabs/hardhat-solhint");

Or, if you are using TypeScript, add this to your hardhat.config.ts:

import "@nomiclabs/hardhat-solhint";

Tasks

This plugin overrides the check task, runs solhint on the project's sources and prints the report to the console.

Environment extensions

This plugin does not extend the environment.

Usage

There are no additional steps you need to take for this plugin to work.

Install it, run npx hardhat check and check the Solhint report.

You may want to add a solhint configuration file to customize your rules or include a Solhint plugin.

Keywords

FAQs

Last updated on 10 Apr 2023

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