A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/purcell/sqlint below:

purcell/sqlint: Simple SQL linter supporting ANSI and PostgreSQL syntaxes

SQLint - a simple SQL linter

SQLint is a simple command-line linter which reads your SQL files and reports any syntax errors or warnings it finds.

At this stage, SQLint checks SQL against the ANSI syntax, and uses the PostgreSQL SQL parser to achieve this. SQLint does not have support for non-standard SQL variants (e.g. MySQL), but contributions are welcome.

SQLint is currently provided as a ruby gem: you can install it using the following command:

To check the syntax of a file containing SQL, simply pass the filename to sqlint on the command line:

In the absence of a filename, sqlint reads from standard input.

Support for sqlint is provided for the following editors:

Add this to your .pre-commit-hooks.yaml:

-   repo: https://github.com/purcell/sqlint
    rev: master
    hooks:
    -   id: sqlint

This software was written by Steve Purcell and Kieran Trezona-le Comte.

Copyright 2015-2018 Powershop NZ Ltd. Copyright 2018-2021 Steve Purcell. MIT license.

💝 Support this project and my other Open Source work via Patreon

💼 LinkedIn profile

✍ sanityinc.com


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4