0xSpaceShard / starknet-hardhat-plugin

A plugin for integrating Starknet tools into Hardhat projects
https://0xspaceshard.github.io/starknet-hardhat-plugin/
MIT License
198 stars 36 forks source link

Add hardhat config file checking #391

Closed FabijanC closed 1 year ago

FabijanC commented 1 year ago

While integrating scarb, I used this in the run_test function of test.sh:

    npx hardhat --typecheck --config "$CONFIG_FILE_NAME" 1>/dev/null ||
        echo "Invalid config file!"

We need a better version of this: