Skip to content

Commit dabd664

Browse files
committed
Promote prettier-plugin-sql-cst
1 parent 0f58869 commit dabd664

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,24 @@ Possible fixes:
213213
- Switch to `@babel/preset-env`
214214
- Include plugin `@babel/plugin-proposal-class-properties`
215215

216+
## The future
217+
218+
The development of this formatter is currently in maintenance mode.
219+
Bugs will get fixed if feasible, but new features will likely not be added.
220+
221+
I have started a new SQL formatting tool: [prettier-plugin-sql-cst][].
222+
223+
- It solves several problems which can't be fixed in SQL Formatter because
224+
of fundamental problems in its arhictecture.
225+
- It makes use of the Prettier layout algorithm,
226+
doing a better job of splitting long expressions to multiple lines.
227+
- It takes much more opinionated approach to SQL formatting,
228+
giving only a very limited set of options to adjust the code style.
229+
- It already has full support for SQLite and BigQuery syntax.
230+
It should work for the most common SQL code in various other dialects.
231+
232+
Give it a try if you'd like to take your SQL auto-formatting to the next level.
233+
216234
## Contributing
217235

218236
Please see [CONTRIBUTING.md](CONTRIBUTING.md)
@@ -222,3 +240,4 @@ Please see [CONTRIBUTING.md](CONTRIBUTING.md)
222240
[MIT](LICENSE)
223241

224242
[php library]: https://github.com/jdorn/sql-formatter
243+
[prettier-plugin-sql-cst]: https://github.com/nene/prettier-plugin-sql-cst

0 commit comments

Comments
 (0)