ESLint Plugin SQL Template
JSON →ESLint plugin (v3.2.0, maintained) that enforces the use of the `sql` template tag on raw SQL queries to prevent SQL injection. Provides the `no-unsafe-query` rule which disallows interpolated template literals in SQL strings unless tagged with `sql`. Requires ESLint >=9 and Node >=20. Distinct from eslint-plugin-sql or eslint-plugin-safe-sql by focusing specifically on template tag usage rather than SQL syntax validation.
Resources
packageeslint-plugin-sql-template ↗