{"library":"eslint-plugin-knex","type":"library","category":null,"description":"ESLint plugin that enforces safe SQL query practices when using Knex.js, particularly preventing SQL injection by disallowing plain string arguments in raw queries. The current stable version is 0.2.2, released with no recent active development (last update years ago). It offers a single rule, `avoid-injections`, and allows configuration of expected Knex builder variable names. Unlike generic SQL injection linting, this plugin is tailored specifically to Knex's `knex.raw()` method, filling a niche for projects heavily relying on raw queries.","language":"javascript","status":"maintenance","version":"0.2.2","tags":["javascript","eslint","eslintplugin","knex"],"last_verified":"Wed May 27","install":[{"cmd":"npm install eslint-plugin-knex","imports":["{\n  \"plugins\": [\"knex\"],\n  \"rules\": { \"knex/avoid-injections\": \"error\" }\n}","\"knex/avoid-injections\": \"error\""]},{"cmd":"yarn add eslint-plugin-knex","imports":[]},{"cmd":"pnpm add eslint-plugin-knex","imports":[]}],"homepage":null,"github":"https://github.com/antonniklasson/eslint-plugin-knex","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/eslint-plugin-knex","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/eslint-plugin-knex/compatibility"}}