ESLint Plugin Slonik
JSON →ESLint plugin for compile-time SQL query validation against your PostgreSQL database schema. Version 1.13.5 validates raw SQL strings within Slonik SQL tags (sql.array, sql.fragment, sql.identifier, etc.) at lint time, catching errors before runtime. A fork of @ts-safeql/eslint-plugin with native Slonik support. Requires libpg-query as peer dependency. Patches are released regularly, but the plugin is stable with full feature coverage for Slonik's tag builders.
Resources
packageeslint-plugin-slonik ↗
API endpoints
full doc /v1/registry/eslint-plugin-slonik