# Lint all .sql files with SQLFluff with Oracle dialect
lint
# Lint SQL file or directory containing SQL files with Oracle dialect
lint path/to/file/or/dir
# Lint all .sql files with SQLFluff with $Dialect dialect
lint $Dialect
# Lint SQL file or directory containing SQL files with $Dialect dialect
lint $Dialect path/to/file/or/dir
#########################
# WARNING #
# Use this with caution #
#########################
# Fix all .sql files with SQLFluff with Oracle dialect
fix
# Fix SQL file or directory containing SQL files with Oracle dialect
fix path/to/file/or/dir
# Fix all .sql files with SQLFluff with $Dialect dialect
fix $Dialect
# Fix SQL file or directory containing SQL files with $Dialect dialect
fix $Dialect path/to/file/or/dir
Where $Dialect in:
ansi - ansi dialectbigquery - bigquery dialectexasol - exasol dialecthive - hive dialectmysql - mysql dialectoracle - oracle dialectpostgres - postgres dialectredshift - redshift dialectsnowflake - snowflake dialectspark3 - spark3 dialectsqlite - sqlite dialectteradata - teradata dialecttsql - tsql dialect| Env variable | Description | Default |
|---|---|---|
TIMEOUT | Timeout for execution (see timeout(1) man page) | 2h |
TIMEOUT_HARD | Hard timeout for execution (if application doesn't react on SIGTERM, see timeout(1) man page) | 10m |
Content type
Image
Digest
sha256:2b8cf87cc…
Size
55.3 MB
Last updated
almost 4 years ago
docker pull ismv/linter-sqlint