How to selectively space before unary NOT operator in JS code style?

In PhpStorm, I can set "SPACE_BEFORE_UNARY_NOT" option to "true" for PHP code style but no such option exists for JS. One can either add space or remove space from ALL unary operators, which doesn't work for me as I don't want to add space to "++ foo". WordPress's style is weird in this way.

Any ideas how I can replicate PHP's option in JS?

 

1 comment

There is no such feature, please vote for https://youtrack.jetbrains.com/issue/WEB-7316 to be notified on any progress with it

0

Please sign in to leave a comment.