e55d07cf6f
- added a cd into the direcotry containing the file in the buffer in order to properly check for a config file - added command_callback tests for graphql
12 lines
301 B
Plaintext
12 lines
301 B
Plaintext
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'
|