SQL
Linters
Linter | Additional |
---|---|
sql-lint SQL_SQL_LINT |
|
sqlfluff SQL_SQLFLUFF |
|
tsqllint SQL_TSQLLINT |
Linted files
- File extensions:
.sql
Configuration in MegaLinter
Variable | Description | Default value |
---|---|---|
SQL_PRE_COMMANDS | List of bash commands to run before the linters | None |
SQL_POST_COMMANDS | List of bash commands to run after the linters | None |
SQL_FILTER_REGEX_INCLUDE | Custom regex including filter | |
SQL_FILTER_REGEX_EXCLUDE | Custom regex excluding filter |