Format sql files using the sql-formatter npm package
Install
Open VS Code and press F1 or Ctrl + Shift + P to open command palette, select Install Extension and type lea21st.vscode-sql-formatter. Or launch VS Code Quick Open (Ctrl + P), paste the following command, and press enter.