Here is the original code:
namespace.namespace2 = new function() {/* logic here*/}
After using Prettier:
namespace.namespace2 = new (function() {/* logic here*/})();
Why? I want an option to disable this, but can’t find it documented anywhere.
I went into the Prettier playground area on their site, put in the code from the example above, and fiddled around with all settings, nothing worked.
I’ve then searched through the Prettier documentation, obviously tried to search for an answer, but I could only find posts unrelated to my issue.