Skip to content

Commit cd7e3e7

Browse files
committed
update RESERVED_PARAMETER_NAMES to list reserved words, not built-in options
1 parent 2fda776 commit cd7e3e7

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

v-next/core/src/internal/parameters.ts

+3-7
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,10 @@ import { HardhatError } from "@ignored/hardhat-vnext-errors";
55
import { ParameterType } from "../types/common.js";
66

77
/**
8-
* Names that can't be used as global- nor task-parameter names.
8+
* Names that can't be used as global- nor task-parameter names. These are
9+
* reserved for future use.
910
*/
10-
export const RESERVED_PARAMETER_NAMES: Set<string> = new Set([
11-
"config",
12-
"help",
13-
"showStackTraces",
14-
"version",
15-
]);
11+
export const RESERVED_PARAMETER_NAMES: Set<string> = new Set([]);
1612

1713
const VALID_PARAM_NAME_CASING_REGEX = /^[a-z][a-zA-Z0-9]*$/;
1814

0 commit comments

Comments
 (0)