NomicFoundation / hardhat

Hardhat is a development environment to compile, deploy, test, and debug your Ethereum software.
https://hardhat.org
Other
7.04k stars 1.36k forks source link

Add validation for plugin and tasks #5343

Closed sisco0 closed 1 month ago

sisco0 commented 1 month ago

Solves #5230.

This PR ensures that tasks and plugins are validated accurately in the configuration. The enhanced test coverage ensures robustness and reliability of the validation logic

Testing output: pnpm mocha --grep "Config Validation" --recursive "test/**/*.ts" image

changeset-bot[bot] commented 1 month ago

⚠️ No Changeset found

Latest commit: f5f2967ff57d9bdf56dca5128bfe84030e952c78

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

vercel[bot] commented 1 month ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
hardhat ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 5, 2024 5:53pm
alcuadrado commented 1 month ago

Hey, thanks for submitting this PR and the other one. Unfortunately, the issue linked here refers to a new version of Hardhat that's under active development and changing too much still to be ready to accept an external PR.

We intend to have a solid base in the next few weeks/a month, which hopefully can be more welcoming for external contributors, but right now I'm afraid I'll have to close this PR.

We use the tag v-next to signal that an issue/PR is for thew new version.