I am using phpstorm 2018.3.5 and I just had to configure this style of alignment for a project I took over.
As sam said here for php you can set it in :
Settings -> Editor -> Code Style -> PHP -> Wrapping and Braces -> Align consecutive assignments
So I thought it would be the same for JS but it turns out to be slightly different :
Settings -> Editor -> Code Style -> JavaScript -> Wrapping and Braces -> Variable Declarations -> Align -> When grouped
I hope this can help.