Skip to content

Commit

Permalink
yarn fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanjohnsontv committed Dec 2, 2024
1 parent 93c0c82 commit 1391505
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
6 changes: 3 additions & 3 deletions packages/config/maintenance/lintConfigFiles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1055,13 +1055,13 @@ Consider converting this parameter to unsigned using ${
addWarning(
file,
`Skipping "duplicatedPartials" lint check for parameter #${parameter} due to "lintSkip" configuration.`,
variant
);
variant,
);
return false;
}
return paramInformation.has({ parameter });
});

if (duplicatedPartials.length) {
addError(
file,
Expand Down
5 changes: 4 additions & 1 deletion packages/config/src/devices/ParamInformation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,10 @@ Parameter #${parameterNumber}: allowManualEntry must be false or omitted!`,

if (
definition.lintSkip != undefined
&& (!isArray(definition.lintSkip) || !definition.lintSkip.every((rule: unknown) => typeof rule === "string"))
&& (!isArray(definition.lintSkip)
|| !definition.lintSkip.every((rule: unknown) =>
typeof rule === "string"
))
) {
throwInvalidConfig(
"devices",
Expand Down

0 comments on commit 1391505

Please sign in to comment.