VS Code Extensions
S

squint SQL linter

by squint

Real-time SQL linting for dbt/Jinja SQL files with inline diagnostics in VS Code.

Downloads

23

Rating

— (0)

Version

1.0.1

Last updated

Apr 07, 2026

Real-time SQL linting for dbt/Jinja SQL files, powered by the squint LSP server.

Diagnostics (errors and warnings) appear inline in the editor and in the Problems panel as you type.

Requirements

The squint-lsp binary must be installed separately:

cargo install squint-linter --features lsp --bin squint-lsp

This places the binary at ~/.cargo/bin/squint-lsp, which the extension finds automatically.

Configuration

Setting Default Description
squint.serverPath "" Absolute path to the squint-lsp binary. Leave empty to use the binary from PATH or ~/.cargo/bin.

Example settings.json entry for a non-standard install location:

"squint.serverPath": "/home/you/projects/squint/target/release/squint-lsp"

Building and installing

Prerequisites

cd editors/vscode
npm install

Compile

npm run compile

Package as .vsix

npm run package
# Produces: squint-0.2.0.vsix

Install in VS Code

code --install-extension squint-0.2.0.vsix

Or: Extensions panel → ··· menu → "Install from VSIX…"

Supported file types

  • sql
  • jinja-sql (requires a grammar extension such as Better Jinja)

Configuration file

The LSP server reads squint.toml or [tool.squint] in pyproject.toml from the workspace root at startup. Rule severity overrides configured there are reflected in editor diagnostics.