mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-18 02:05:56 +08:00
linters/xo: fix tests
This commit is contained in:
@@ -1,8 +1,9 @@
|
|||||||
Before:
|
Before:
|
||||||
call ale#assert#SetUpLinterTest('javascript', 'xo')
|
call ale#assert#SetUpLinterTest('javascript', 'xo')
|
||||||
call ale#test#SetFilename('testfile.js')
|
call ale#test#SetFilename('testfile.jsx')
|
||||||
unlet! b:executable
|
unlet! b:executable
|
||||||
|
|
||||||
|
set filetype=javascriptreact
|
||||||
runtime autoload/ale/handlers/xo.vim
|
runtime autoload/ale/handlers/xo.vim
|
||||||
|
|
||||||
After:
|
After:
|
||||||
|
|||||||
@@ -1,8 +1,9 @@
|
|||||||
Before:
|
Before:
|
||||||
call ale#assert#SetUpLinterTest('typescript', 'xo')
|
call ale#assert#SetUpLinterTest('typescript', 'xo')
|
||||||
call ale#test#SetFilename('testfile.ts')
|
call ale#test#SetFilename('testfile.tsx')
|
||||||
unlet! b:executable
|
unlet! b:executable
|
||||||
|
|
||||||
|
set filetype=typescriptreact
|
||||||
runtime autoload/ale/handlers/xo.vim
|
runtime autoload/ale/handlers/xo.vim
|
||||||
|
|
||||||
After:
|
After:
|
||||||
|
|||||||
Reference in New Issue
Block a user