Skip to content

Releases: dprint/dprint-plugin-sql

0.3.0

20 Mar 18:22

Choose a tag to compare

Changes

  • feat: sqlformat 0.5.0 (#5)
  • feat: update sqlformat to 0.3 (#2)

Install

Install and setup dprint.

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

dprint add sql

JS Formatting API

0.2.0

18 Jul 16:27

Choose a tag to compare

Install

Install and setup dprint.

Then in your project's dprint configuration file:

  1. Specify the plugin url in the "plugins" array.
  2. Add a "sql" configuration property if desired.
    {
      // ...etc...
      "sql": {
        // sql config goes here
      },
      "plugins": [
        "https://plugins.dprint.dev/sql-0.2.0.wasm"
      ]
    }

JS Formatting API

0.1.2

01 Feb 16:32

Choose a tag to compare

Install

Install and setup dprint.

Then in your project's dprint configuration file:

  1. Specify the plugin url in the "plugins" array.
  2. Ensure .sql file extensions are matched in an "includes" pattern.
  3. Add a "sql" configuration property if desired.
    {
      // ...etc...
      "sql": {
        // sql config goes here
      },
      "includes": [
        "**/*.{sql}"
      ],
      "plugins": [
        "https://plugins.dprint.dev/sql-0.1.2.wasm"
      ]
    }

JS Formatting API

0.1.1

13 Dec 02:03

Choose a tag to compare

Install

Install and setup dprint.

Then in your project's dprint configuration file:

  1. Specify the plugin url in the "plugins" array.
  2. Ensure .sql file extensions are matched in an "includes" pattern.
  3. Add a "sql" configuration property if desired.
    {
      // ...etc...
      "sql": {
        // sql config goes here
      },
      "includes": [
        "**/*.{sql}"
      ],
      "plugins": [
        "https://plugins.dprint.dev/sql-0.1.1.wasm"
      ]
    }

JS Formatting API