Skip to content

Commit

Permalink
More validation
Browse files Browse the repository at this point in the history
  • Loading branch information
ehmicky committed Jan 16, 2022
1 parent eaffb29 commit 5dadcba
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions src/config/normalize.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ const NORMALIZERS = {
inputs: [checkObjectProps.bind(undefined, [checkJson])],
limit: [checkInteger, normalizeLimit],
merge: [checkString, checkDefinedString, validateMerge],
output: [checkString, checkDefinedString],
outliers: [checkBoolean],
precision: [checkInteger, normalizePrecision],
quiet: [checkBoolean],
Expand Down
1 change: 0 additions & 1 deletion src/config/validate.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ const optionalArray = function (value) {
const EXAMPLE_CONFIG = {
...DEFAULT_CONFIG,
inputs: { inputId: 'inputValue' },
output: './file.js',
reporter: optionalArray('debug'),
reporterConfig: { debug: { property: true } },
runner: optionalArray('node'),
Expand Down

0 comments on commit 5dadcba

Please sign in to comment.