From 573aae3aa7d0492a69787baee1a8b7a85f43c4d4 Mon Sep 17 00:00:00 2001 From: Ilya Kuznetsov Date: Mon, 11 Sep 2023 21:40:13 +0400 Subject: [PATCH] fix: Prettier for readme --- packages/jest-validate/README.md | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/packages/jest-validate/README.md b/packages/jest-validate/README.md index ec8be97b37cb..41b275ce415a 100644 --- a/packages/jest-validate/README.md +++ b/packages/jest-validate/README.md @@ -200,10 +200,7 @@ Custom Deprecation: ```js import {validate} from 'jest-validate'; -validateCLIOptions( - argv, - { ...allowedOptions, deprecatedOptions }, -); +validateCLIOptions(argv, {...allowedOptions, deprecatedOptions}); ``` If `argv` contains a deprecated option that is not specifid in `allowedOptions`, `validateCLIOptions` will throw an error with the message specified in the `deprecatedOptions` config: