Skip to content

Add linting of SQL statements via `sqlfluff`

Jamie Tanna requested to merge feature/lint into main

To give a better indication of what's gone wrong with a query, otherwise we're relying on:

$ dmd db generate advisories --db dmd.db
Error: SQL logic error: near ")": syntax error (1)

This also excludes a few rules for layout that aren't super important.

Edited by Jamie Tanna

Merge request reports