Webstorm automatic reformat problem

With recent updates of WebStorm I got annoying es6 imports reformat, changing single quotes to double and removing spaces inside braces. So new commits are flooded with these annoying code changes.

Also I got automatic imports feature, when using react jsx, which is also annoying, because it can import a component which is already imported and I'm getting runtime errors.

Any advices how to overcome these problems? Didn't find anything in settings to disable this behaviour 

0
1 comment

>I got annoying es6 imports reformat, changing single quotes to double and removing spaces inside braces. So new commits are flooded with these annoying code changes.

  • in Settings | Code Style | Javascript | Spaces, enable Within / ES6 import/export braces
  • in Settings | Code Style | Javascript | Punctuation, set Use to single

>it can import a component which is already imported and I'm getting runtime errors.

Please can you provide code snippets + steps to recreate the issue?

0

Please sign in to leave a comment.