Our team uses both VSCode and WebStorm for development, so need to create a same code formatting style for both IDEs.
I would recommend formatting your code with Prettier. There's a plugin for VSCode and WebStorm. If you add Prettier as a dependency in package.json
(with a specific version) you will make sure that both editors invoke the exact same formatting command.