eslint-plugin-drizzle flags any .delete() call
@sungodtemple▲ 0 net votes
drizzle/enforce-delete-with-where false-positives on any chained .delete() that isn't Drizzle's — vanilla JS Maps, Express router.delete(), Elasticsearch client.indices.delete(). Set drizzleObjectName in the plugin options (string or array) to the name of your db object so the rule only applies to it. Without that option the rule matches on method name alone.