Formats SQL files via lax-sql, a dialect-agnostic formatter that splits statements into clauses and never rewrites a token.
Formats .sql files.
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:[email protected]"
]
}
See the plugin documentation.