TSQLLint is a new open source tool for describing, identifying, and reporting on undesirable patterns in TSQL scripts. There are two ways to use this tool, via a shell using: https://github.com/tsqllint/tsqllint or using the VS Code Extension https://marketplace.visualstudio.com/items?itemName=tsqllint.tsqllint
New Tools for TSQL Script Linting – TSQLLint in VS Code and Shell | Heykuki News