SQLint is a lint tool for SQL with autofix support. It provides syntax checking and style enforcement for SQL files. Version 1.7.1 is the latest stable release. The tool is part of the sql-language-server project and can be used standalone or as an editor plugin. Release cadence is irregular with minor updates. Key differentiators include a built-in fix option (--fix) for automatic problem correction and support for personal/project configuration files. It supports multiple output formats (stylish, json) and can lint from stdin. The package ships TypeScript types and is actively maintained.
npm install sqlintNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Install SQLint as a dev dependency and lint a SQL query provided via stdin.
Use sqlint from the command line, either directly or via npx.
SQLint is a CLI tool; install globally (npm install -g sqlint) or use npx.
No dependency data recorded yet.