-
-
Notifications
You must be signed in to change notification settings - Fork 951
formatter: Diff with Prettier on indentation of default option args #16704
Copy link
Copy link
Labels
A-formatter-prettier-diffArea - Formatter difference with PrettierArea - Formatter difference with Prettier
Description
Input
function EmptyView({
title = 'title',
description = $localize`:@@search_label_no_results_hint:Try using different keywords`,
}) {}Config
Oxfmt output
Oxfmt version: 0.17.0
function EmptyView({
title = 'title',
description = $localize`:@@search_label_no_results_hint:Try using different keywords`,
}) {}Oxfmt playground link
Prettier output
Prettier version: 3.7.3
function EmptyView({
title = 'title',
description = $localize`:@@search_label_no_results_hint:Try using different keywords`,
}) {}Prettier playground link
Additional notes
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A-formatter-prettier-diffArea - Formatter difference with PrettierArea - Formatter difference with Prettier
Type
Fields
Give feedbackPriority
None yet
Effort
None yet
{ "$schema": "./node_modules/oxfmt/configuration_schema.json", "singleQuote": true, "printWidth": 80 }