Skip to content
On this page

@lint

Tag-level lint suppressions for sqldoc rules

Postgres Mysql (beta) Sqlite (beta) Mssql

Example

Suppress a lint rule

Use this when an exception is intentional and documented.

sql
-- @lint.ignore('audit.require-audit', 'Temporary staging table')
CREATE TABLE temp_imports (
  id SERIAL PRIMARY KEY,
  payload JSONB NOT NULL
);

Tags

@lint.ignore

Suppress a lint rule on this object. Reason is mandatory.

Targets: table, column, view, function

Arguments:Positional: string, string