Closed adrianhelvik closed 3 years ago
I think an error would be okay, as this requires extra attention. But this bug makes it impossible to suppress the error.
Thanks for reporting this! I'll have a look.
@adrianhelvik A patch for this is live in v0.1.2. Thanks again for the report 😊
There is a bug when the string used for queries are located in another scope.
This triggers an error in eslint-plugin-knex/rules/avoid-injections.js:44:56