-
-
Notifications
You must be signed in to change notification settings - Fork 737
Labels
A-formatter-prettier-diffArea - Formatter difference with PrettierArea - Formatter difference with Prettier
Description
Input
const {
data: { avgs: { something } } = {
avgs: { something: []},
}
} = useFoobar({ foo: 'bar' });Config
Oxfmt output
Oxfmt version: 0.16.0
const {
data: {
avgs: { something },
} = {
avgs: { something: [] },
},
} = useFoobar({ profileId: profileId });Oxfmt playground link
Prettier output
Prettier version: 3.7.4
const {
data: { avgs: { something } } = {
avgs: { something: [] },
},
} = useFoobar({ foo: 'bar' });Prettier playground link
Additional notes
No response
Metadata
Metadata
Assignees
Labels
A-formatter-prettier-diffArea - Formatter difference with PrettierArea - Formatter difference with Prettier
{ "$schema": "./node_modules/oxfmt/configuration_schema.json", "printWidth": 120, "tabWidth": 2, "singleQuote": true, "trailingComma": "all", "arrowParens": "avoid" }