File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -429,6 +429,11 @@ export interface RequiredOptions extends doc.printer.Options {
429429 * @default false
430430 */
431431 singleAttributePerLine : boolean ;
432+ /**
433+ * Where to print operators when binary expressions wrap lines.
434+ * @default "end"
435+ */
436+ experimentalOperatorPosition : "start" | "end" ;
432437 /**
433438 * Use curious ternaries, with the question mark after the condition, instead
434439 * of on the same line as the consequent.
Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ const options: prettier.ParserOptions = {
2525 vueIndentScriptAndStyle : false ,
2626 arrowParens : "always" ,
2727 semi : true ,
28+ experimentalOperatorPosition : "end" ,
2829 experimentalTernaries : false ,
2930 jsxSingleQuote : false ,
3031 quoteProps : "as-needed" ,
You can’t perform that action at this time.
0 commit comments