Skip to content

Commit

Permalink
docs: update prettier-plugin-sql docs (#225)
Browse files Browse the repository at this point in the history
Co-authored-by: JounQin <admin@1stg.me>
  • Loading branch information
nene and JounQin committed Sep 5, 2022
1 parent 9368e26 commit e621990
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/tidy-pugs-agree.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"prettier-plugin-sql": patch
---

docs: update `prettier-plugin-sql` docs
8 changes: 6 additions & 2 deletions packages/sql/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,19 +48,23 @@ interface SqlOptions {
// sql-formatter
language:
| 'sql'
| 'bigquery'
| 'hive'
| 'mariadb'
| 'mysql'
| 'postgresql'
| 'db2'
| 'plsql'
| 'n1ql'
| 'redshift'
| 'singlestoredb'
| 'spark'
| 'tsql' // default `sql`
| 'sqlite'
| 'tsql'
| 'trino' // default `sql`
keywordCase: 'preserve' | 'upper' | 'lower' // default `preserve`
indentStyle: 'standard' | 'tabularLeft' | 'tabularRight' // default `standard`
logicalOperatorNewline: 'before' | 'after' // default `before`
aliasAs: 'preserve' | 'always' | 'never' | 'select' // default `preserve`
tabulateAlias: boolean // default `false`
commaPosition: 'after' | 'before' | 'tabular' // default `after`
expressionWidth: number // default `50`
Expand Down

0 comments on commit e621990

Please sign in to comment.