Have ideas to improve npm?Join in the discussion! »

    @nomiclabs/hardhat-solhint
    TypeScript icon, indicating that this package has built-in type declarations

    2.0.0 • Public • Published

    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.

    Install

    npm i @nomiclabs/hardhat-solhint

    DownloadsWeekly Downloads

    2,036

    Version

    2.0.0

    License

    MIT

    Unpacked Size

    12.2 kB

    Total Files

    13

    Last publish

    Collaborators

    • avatar
    • avatar
    • avatar