Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 1,000,000+ packages pre-installed, including @nomiclabs/buidler-solhint with all npm packages installed. Try it out:

require("@nomiclabs/buidler/package.json"); // @nomiclabs/buidler is a peer dependency. var buidlerSolhint = require("@nomiclabs/buidler-solhint")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

@nomiclabs/buidler-solhint v1.3.3

Buidler plugin for solhint

npm buidler

buidler-solhint

Buidler 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/buidler-solhint

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

usePlugin("@nomiclabs/buidler-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 buidler check and check the Solhint report.

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

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free