dprint-plugin-typescript icon indicating copy to clipboard operation
dprint-plugin-typescript copied to clipboard

feat: remove curly spacing in gen_object_like_node

Open aPoCoMiLogin opened this issue 1 year ago • 1 comments

this change modifies behaviour of single_line_options.space_at_end option, based on the last member token when objectPattern.spaceSurroundingProperties is enabled. the reason being that current behaviour breaks one of eslint rule object-curly-spacing.

had to change few test cases, so it might be a break change for some ppl, if that was the case then maybe it deserves separate option, let me know what you think.

aPoCoMiLogin avatar Mar 20 '24 15:03 aPoCoMiLogin

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Mar 20 '24 15:03 CLAassistant