-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Closed
Labels
lang:javascriptIssues affecting JSIssues affecting JSlocked-due-to-inactivityPlease open a new issue and fill out the template instead of commenting.Please open a new issue and fill out the template instead of commenting.type:duplicateIssues that are a duplicate of a previous issueIssues that are a duplicate of a previous issue
Description
Prettier 1.12.1
Playground link
--single-quote
--tab-width 4
--trailing-comma all
--use-tabs
Input:
const dog = condition ? {
key: value1,
} : {
key: value2,
};
Output:
const dog = condition
? {
key: value1,
}
: {
key: value2,
};
Expected behavior:
Anything that does not mix spaces and tabs.
Metadata
Metadata
Assignees
Labels
lang:javascriptIssues affecting JSIssues affecting JSlocked-due-to-inactivityPlease open a new issue and fill out the template instead of commenting.Please open a new issue and fill out the template instead of commenting.type:duplicateIssues that are a duplicate of a previous issueIssues that are a duplicate of a previous issue