// 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
# or install from npm
dprint add npm: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": [
    "https://plugins.dprint.dev/bartlomieju/lax-sql-x.x.x.wasm"
  ]
}

Configuration

See the plugin documentation.