id: neon-dot-query
language: tsx
severity: error
message: ".query() on a neon http client — use sql`...` tagged template"
note: '{"severity":"high","category":"convention","resolution":"neon http client has no .query(); use sql`...` tagged template (zc-dba neon-http-tagged-template)."}'
rule:
  pattern: $S.query($$$)
constraints:
  S: { regex: 'sql|neon|client' }