TSQLLint 0.0.1
.NET 5.0
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet tool install --global TSQLLint --version 0.0.1
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest # if you are setting up this repo dotnet tool install --local TSQLLint --version 0.0.1
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=TSQLLint&version=0.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package TSQLLint --version 0.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
TSQLLint
TSQLLint is a tool for describing, identifying, and reporting the presence of anti-patterns in TSQL scripts.
Usage
# lint a single file
tsqllint test.sql
# lint all files in a directory
tsqllint c:\database_scripts
# lint a list of files and directories, paths with whitespace must be enclosed in quotes
tsqllint file_one.sql file_two.sql "c:\database scripts"
# lint using wild cards
tsqllint c:\database_scripts\sp_*.sql
# print path to .tsqllintrc config file
tsqllint --print-config
# display usage info
tsqllint --help
# list the plugins loaded
tsqllint --list-plugins
Product | Versions |
---|---|
.NET | net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows |
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.