Closed dale426 closed 5 years ago
on my project have a file that name is .prettier; i write the content:
{ "singleQuote": true, "rules": { "function-paren-newline": "off" } }
but, the param code have a new line when i use the prettier formater my code; example:
before: this.$tow.open(this.$funHandler("order-car-input-reason", {}, {orderCode: this.orderCode})); // after use prettier formater; this.$tow.open( this.$funHandler( 'order-car-input-reason', {}, { orderCode: this.orderCode } ) );
now the 'singleQuote' is effect ; expect 'function-paren-newline' is never;
We don’t support rules like that, unfortunately. You have to use the style Prettier suggests.
on my project have a file that name is .prettier; i write the content:
but, the param code have a new line when i use the prettier formater my code; example:
now the 'singleQuote' is effect ; expect 'function-paren-newline' is never;