{"library":"eslint-plugin-sql-template","type":"library","category":null,"description":"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.","language":"javascript","status":"active","version":"3.2.0","tags":["javascript","plugin","eslint","lint","shared","tag","sql","sql-tag","string"],"last_verified":"Fri Jun 05","install":[{"cmd":"npm install eslint-plugin-sql-template","imports":["import sqlTemplate from 'eslint-plugin-sql-template'","import sqlTemplate from 'eslint-plugin-sql-template'; const rules = sqlTemplate.rules","import sqlTemplate from 'eslint-plugin-sql-template'; const rule = sqlTemplate.rules['no-unsafe-query']"]},{"cmd":"yarn add eslint-plugin-sql-template","imports":[]},{"cmd":"pnpm add eslint-plugin-sql-template","imports":[]}],"homepage":"https://github.com/uphold/eslint-plugin-sql-template#readme","github":"ssh://git@github.com/uphold/eslint-plugin-sql-template","docs":null,"changelog":null,"pypi":null,"npm":"eslint-plugin-sql-template","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}