Skip to content

Commit

Permalink
Highlight editor integration
Browse files Browse the repository at this point in the history
  • Loading branch information
erik committed Jan 7, 2019
1 parent 161694d commit ace5fe6
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,15 @@ Catch unsafe SQL migrations.
performance issues.
...
Squabble can also be `integrated with your editor
<https://squabble.rtfd.io/en/latest/editors.html>`__ to catch errors in
SQL files.

.. code:: console
$ echo 'SELECT * FROM WHERE x = y;' | squabble --reporter=plain
stdin:1:15 CRITICAL: syntax error at or near "WHERE"
Currently, most of the rules have been focused on Postgres and its
quirks. However, squabble can parse any ANSI SQL and new rules that are
specific to other databases are appreciated!
Expand Down

0 comments on commit ace5fe6

Please sign in to comment.