Merge pull request #2153 from deltaskelta/gqlint-fix

changed gqlint to lint the file on disk
This commit is contained in:
w0rp authored and GitHub committed 2018-12-18 10:19:59 +00:00
commit 0e3778e335
2 files changed
+18 -1

No files matched your search

@@ -0,0 +1,11 @@
Before:
call ale#assert#SetUpLinterTest('graphql', 'gqlint')
After:
call ale#assert#TearDownLinterTest()
Execute(The linter should run from the directory of the file in the buffer):
AssertLinter 'gqlint',
\ ale#path#CdString(expand('%:p:h'))
\ . 'gqlint --reporter=simple'
\ . ' %t'