diff --git a/.jsbeautifyrc.defaults.json b/.jsbeautifyrc.defaults.json index f5374c59..aa190d83 100644 --- a/.jsbeautifyrc.defaults.json +++ b/.jsbeautifyrc.defaults.json @@ -158,7 +158,7 @@ // For the following entries, keys are globs and values are objects which // can contain any kind of .jsbeautifyrc setting. - "(package|yarn)(-lock).json": + "@(package?(-lock)|yarn-lock).json": { "indent_size": 2, "brace_style": "collapse" @@ -170,4 +170,4 @@ "brace_style": "expand" } } -} \ No newline at end of file +}