Merge pull request #2988 from joereynolds/master

Add sql-lint as linter
This commit is contained in:
w0rp
2020-08-28 08:43:10 +01:00
committed by GitHub
3 changed files with 67 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
Before:
" Load the linter and set up a series of commands, reset linter variables,
" clear caches, etc.
"
" Vader's 'Save' command will be called here for linter variables.
call ale#assert#SetUpLinterTest('sql', 'sqllint')
After:
call ale#assert#TearDownLinterTest()
Execute(The default command should be correct):
AssertLinter 'sql-lint', ['sql-lint']