Please provide JavaScript code formatting rules

I found that the format rule of Java code is googleJavaFormat, but I can’t find the format rule of JavaScript code. Please help me and tell me


Use Prettier to format javascript code, it was available both in the vscode plugin and online. You can find the online link here.