Search code examples
webstorm

WebStorm when I transform a var in object all my imports are formatted


Since the last upgrade with WebStorm I have this strange bug.

Some one have this bug and find to fix it ?

enter image description here


Solution

  • Ok I found the issue.

    Don't know why but check the On 'Reformat code' action on the prettier settings generate this issue.

    I have nothing in my .prettierrc to do something like that. Probably a webstorm issue.