From 36e959a46697afaa674ffa0dd21e026245a71d35 Mon Sep 17 00:00:00 2001 From: w0rp Date: Fri, 28 Aug 2020 09:25:40 +0100 Subject: [PATCH] Add sql-lint to supported tools --- ale_linters/sql/sqllint.vim | 1 + doc/ale-sql.txt | 2 +- doc/ale-supported-languages-and-tools.txt | 1 + supported-tools.md | 1 + 4 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ale_linters/sql/sqllint.vim b/ale_linters/sql/sqllint.vim index fcedb764..78396fe9 100644 --- a/ale_linters/sql/sqllint.vim +++ b/ale_linters/sql/sqllint.vim @@ -26,6 +26,7 @@ endfunction call ale#linter#Define('sql', { \ 'name': 'sqllint', +\ 'aliases': ['sql-lint'], \ 'executable': 'sql-lint', \ 'command': 'sql-lint', \ 'callback': 'ale_linters#sql#sqllint#Handle', diff --git a/doc/ale-sql.txt b/doc/ale-sql.txt index 2807271b..398e24d3 100644 --- a/doc/ale-sql.txt +++ b/doc/ale-sql.txt @@ -3,7 +3,7 @@ ALE SQL Integration *ale-sql-options* =============================================================================== -pgformatter *ale-sql-pgformatter* +pgformatter *ale-sql-pgformatter* g:ale_sql_pgformatter_executable *g:ale_sql_pgformatter_executable* *b:ale_sql_pgformatter_executable* diff --git a/doc/ale-supported-languages-and-tools.txt b/doc/ale-supported-languages-and-tools.txt index 85ea5d43..c6bcf421 100644 --- a/doc/ale-supported-languages-and-tools.txt +++ b/doc/ale-supported-languages-and-tools.txt @@ -449,6 +449,7 @@ Notes: * `sqlfmt` * `sqlformat` * `sqlint` + * `sql-lint` * Stylus * `stylelint` * SugarSS diff --git a/supported-tools.md b/supported-tools.md index 90fdfca0..70a992a1 100644 --- a/supported-tools.md +++ b/supported-tools.md @@ -458,6 +458,7 @@ formatting. * [sqlfmt](https://github.com/jackc/sqlfmt) * [sqlformat](https://github.com/andialbrecht/sqlparse) * [sqlint](https://github.com/purcell/sqlint) + * [sql-lint](https://github.com/joereynolds/sql-lint) * Stylus * [stylelint](https://github.com/stylelint/stylelint) * SugarSS