Closed octohedron closed 7 years ago
hi @octohedron
I'm having a hard time reproducing this bug. I just copied pasted your code to the small test demo in the repo and I'm not able to reproduce (it formats correctly). Can you also share your config please?
Normal
After applying formatting it becomes
Notice that every time you format, it adds additional indentation to the contents of the onDateChange function
Using esfromtatter-jsx@7.4.0 with sublime-jsfmt
Update: found the problem, it's when using the property shorthand, changing date to date: date fixes the issue, the thing is, this should support it.