// plugins

Lax SQL Plugin

Formats SQL files via lax-sql, a dialect-agnostic formatter that splits statements into clauses and never rewrites a token.

Formats .sql files.

Install and Setup

In your project's directory with a dprint.json file, run:

dprint add bartlomieju/lax-sql

This will update your config file to have an entry for the plugin. Then optionally specify an "sql" property to add configuration:

{
  "sql": {
    // sql config goes here
  },
  "plugins": [
    "npm:lax-sql@x.x.x"
  ]
}

Configuration

See the plugin documentation.