-
-
Notifications
You must be signed in to change notification settings - Fork 832
Closed as not planned
Labels
A-formatter-prettier-diffArea - Formatter difference with PrettierArea - Formatter difference with PrettierPrettier bugThis is a Prettier bug rather than `Oxfmt`This is a Prettier bug rather than `Oxfmt`
Description
Input
const xxxxxxxxxxxxxxxxxxxxxxxxx = xxxxxxxxxxxxxxxxxxxxxxxxxxx('xxxxxxxxxxxxx')((
props: xxxxxxxxxxxxx,
) => {
// test
});Config
Oxfmt output
Oxfmt version: 42e9dcc7d
const xxxxxxxxxxxxxxxxxxxxxxxxx = xxxxxxxxxxxxxxxxxxxxxxxxxxx('xxxxxxxxxxxxx')(
(props: xxxxxxxxxxxxx) => {
// test
},
);Oxfmt playground link
No response
Prettier output
Prettier version: 3.7.1
const xxxxxxxxxxxxxxxxxxxxxxxxx = xxxxxxxxxxxxxxxxxxxxxxxxxxx('xxxxxxxxxxxxx')((
props: xxxxxxxxxxxxx,
) => {
// test
});Prettier playground link
No response
Additional notes
interesting if the x('x') part turns into just xs, it becomes the same as oxfmt
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A-formatter-prettier-diffArea - Formatter difference with PrettierArea - Formatter difference with PrettierPrettier bugThis is a Prettier bug rather than `Oxfmt`This is a Prettier bug rather than `Oxfmt`
{ "printWidth": 100, "tabWidth": 2, "useTabs": false, "semi": true, "singleQuote": true, "quoteProps": "as-needed", "jsxSingleQuote": false, "trailingComma": "all", "bracketSpacing": true, "bracketSameLine": false, "arrowParens": "always" }