diff --git a/docs/src/content/hardhat-runner/docs/advanced/building-plugins.md b/docs/src/content/hardhat-runner/docs/advanced/building-plugins.md index 03cdc275f7..19e0eaf58e 100644 --- a/docs/src/content/hardhat-runner/docs/advanced/building-plugins.md +++ b/docs/src/content/hardhat-runner/docs/advanced/building-plugins.md @@ -8,7 +8,7 @@ Plugins are bits of reusable configuration. Anything that you can do in a plugin When developing a plugin the main tools available to integrate new functionality are extending the [Hardhat Runtime Environment](/advanced/hardhat-runtime-environment.md), extending the Hardhat config, defining new tasks and overriding existing ones, which are all configuration actions achieved through code. -Some examples of things you could achieve by creating a plugin are: running a linter when the `check` task runs, using different compiler versions for different files or generating an UML diagram for your contracts. +Some examples of things you could achieve by creating a plugin are: running a linter when the `check` task runs, using different compiler versions for different files or generating a UML diagram for your contracts. ## Extending the Hardhat Runtime Environment diff --git a/packages/hardhat-chai-matchers/src/internal/reverted/reverted.ts b/packages/hardhat-chai-matchers/src/internal/reverted/reverted.ts index bed2de13c7..7cbd4f69f2 100644 --- a/packages/hardhat-chai-matchers/src/internal/reverted/reverted.ts +++ b/packages/hardhat-chai-matchers/src/internal/reverted/reverted.ts @@ -135,7 +135,7 @@ function isTransactionReceipt(x: unknown): x is { status: number } { const status = (x as any).status; // this means we only support ethers's receipts for now; adding support for - // raw receipts, where the status is an hexadecimal string, should be easy + // raw receipts, where the status is a hexadecimal string, should be easy // and we can do it if there's demand for that return typeof status === "number"; } diff --git a/packages/hardhat-chai-matchers/test/reverted/reverted.ts b/packages/hardhat-chai-matchers/test/reverted/reverted.ts index 7c73113384..ccc893cdd9 100644 --- a/packages/hardhat-chai-matchers/test/reverted/reverted.ts +++ b/packages/hardhat-chai-matchers/test/reverted/reverted.ts @@ -113,7 +113,7 @@ describe("INTEGRATION: Reverted", function () { ); }); - it("promise of an byte32 string", async function () { + it("promise of a byte32 string", async function () { await expect( Promise.resolve( "0x3230323400000000000000000000000000000000000000000000000000000000" diff --git a/packages/hardhat-core/src/internal/cli/cli.ts b/packages/hardhat-core/src/internal/cli/cli.ts index c00c3a0137..48ed4cdf75 100755 --- a/packages/hardhat-core/src/internal/cli/cli.ts +++ b/packages/hardhat-core/src/internal/cli/cli.ts @@ -277,7 +277,7 @@ async function main() { let taskArguments: TaskArguments; - // --help is a also special case + // --help is an also special case if (hardhatArguments.help && taskName !== TASK_HELP) { // we "move" the task and scope names to the task arguments, // and run the help task diff --git a/packages/hardhat-core/src/internal/cli/is-node-version-to-warn-on.ts b/packages/hardhat-core/src/internal/cli/is-node-version-to-warn-on.ts index cc954d0b3e..4a1945aa8b 100644 --- a/packages/hardhat-core/src/internal/cli/is-node-version-to-warn-on.ts +++ b/packages/hardhat-core/src/internal/cli/is-node-version-to-warn-on.ts @@ -7,7 +7,7 @@ import { SUPPORTED_NODE_VERSIONS } from "./constants"; * Determine if the node version should trigger an unsupported * warning. * - * The current rule is that a unsupported warning will be shown if + * The current rule is that an unsupported warning will be shown if * * 1. An odd numbered version of Node.js is used - as this will never go to LTS * 2. The version is less than the minimum supported version diff --git a/packages/hardhat-core/src/internal/core/config/config-validation.ts b/packages/hardhat-core/src/internal/core/config/config-validation.ts index 57a22321c7..271d88eec8 100644 --- a/packages/hardhat-core/src/internal/core/config/config-validation.ts +++ b/packages/hardhat-core/src/internal/core/config/config-validation.ts @@ -383,7 +383,7 @@ export function getValidationErrors(config: any): string[] { if (hardhatNetwork !== undefined && typeof hardhatNetwork === "object") { if ("url" in hardhatNetwork) { errors.push( - `HardhatConfig.networks.${HARDHAT_NETWORK_NAME} can't have an url` + `HardhatConfig.networks.${HARDHAT_NETWORK_NAME} can't have a url` ); } diff --git a/packages/hardhat-core/src/internal/core/typescript-support.ts b/packages/hardhat-core/src/internal/core/typescript-support.ts index cfcd86eadd..a10993d4ae 100644 --- a/packages/hardhat-core/src/internal/core/typescript-support.ts +++ b/packages/hardhat-core/src/internal/core/typescript-support.ts @@ -17,7 +17,7 @@ export function willRunWithTypescript(configPath?: string): boolean { } /** - * Returns true if an Hardhat is already running with typescript. + * Returns true if a Hardhat is already running with typescript. */ export function isRunningWithTypescript(config: HardhatConfig): boolean { return isNonEsmTypescriptFile(config.paths.configFile);