ESLint Error when not using Drizzle
I currently have the Drizzle eslint plugin enabled and I get this error:
Without
Thething is, toastTimeouts is not a Drizzle object but just a normal ES map (const toastTimeouts = new Map<string, NodeJS.Timeout>();
)
Without
.where(...) you will delete all the rows in a table. If you didn't want to do it, please use toastTimeouts.delete(...).where(...) instead. Otherwise you can ignore this rule hereeslintdrizzle/enforce-delete-with-whereThething is, toastTimeouts is not a Drizzle object but just a normal ES map (const toastTimeouts = new Map<string, NodeJS.Timeout>();
)
