Add sql-lint to supported tools
This commit is contained in:
parent
47fdc02fc7
commit
36e959a466
4 changed files with 4 additions and 1 deletions
|
@ -26,6 +26,7 @@ endfunction
|
||||||
|
|
||||||
call ale#linter#Define('sql', {
|
call ale#linter#Define('sql', {
|
||||||
\ 'name': 'sqllint',
|
\ 'name': 'sqllint',
|
||||||
|
\ 'aliases': ['sql-lint'],
|
||||||
\ 'executable': 'sql-lint',
|
\ 'executable': 'sql-lint',
|
||||||
\ 'command': 'sql-lint',
|
\ 'command': 'sql-lint',
|
||||||
\ 'callback': 'ale_linters#sql#sqllint#Handle',
|
\ 'callback': 'ale_linters#sql#sqllint#Handle',
|
||||||
|
|
|
@ -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*
|
g:ale_sql_pgformatter_executable *g:ale_sql_pgformatter_executable*
|
||||||
*b:ale_sql_pgformatter_executable*
|
*b:ale_sql_pgformatter_executable*
|
||||||
|
|
|
@ -449,6 +449,7 @@ Notes:
|
||||||
* `sqlfmt`
|
* `sqlfmt`
|
||||||
* `sqlformat`
|
* `sqlformat`
|
||||||
* `sqlint`
|
* `sqlint`
|
||||||
|
* `sql-lint`
|
||||||
* Stylus
|
* Stylus
|
||||||
* `stylelint`
|
* `stylelint`
|
||||||
* SugarSS
|
* SugarSS
|
||||||
|
|
|
@ -458,6 +458,7 @@ formatting.
|
||||||
* [sqlfmt](https://github.com/jackc/sqlfmt)
|
* [sqlfmt](https://github.com/jackc/sqlfmt)
|
||||||
* [sqlformat](https://github.com/andialbrecht/sqlparse)
|
* [sqlformat](https://github.com/andialbrecht/sqlparse)
|
||||||
* [sqlint](https://github.com/purcell/sqlint)
|
* [sqlint](https://github.com/purcell/sqlint)
|
||||||
|
* [sql-lint](https://github.com/joereynolds/sql-lint)
|
||||||
* Stylus
|
* Stylus
|
||||||
* [stylelint](https://github.com/stylelint/stylelint)
|
* [stylelint](https://github.com/stylelint/stylelint)
|
||||||
* SugarSS
|
* SugarSS
|
||||||
|
|
Reference in a new issue