Test default linters for apkbuild
This commit is contained in:
parent
4f8f2a4a0c
commit
4999ae2e85
1 changed files with 7 additions and 0 deletions
|
@ -70,3 +70,10 @@ Execute(The defaults for the verilog filetype should be correct):
|
||||||
Execute(Default aliases for React should be defined):
|
Execute(Default aliases for React should be defined):
|
||||||
AssertEqual ['javascript', 'jsx'], ale#linter#ResolveFiletype('javascriptreact')
|
AssertEqual ['javascript', 'jsx'], ale#linter#ResolveFiletype('javascriptreact')
|
||||||
AssertEqual ['typescript', 'tsx'], ale#linter#ResolveFiletype('typescriptreact')
|
AssertEqual ['typescript', 'tsx'], ale#linter#ResolveFiletype('typescriptreact')
|
||||||
|
|
||||||
|
Execute(The defaults for the apkbuild filetype should be correct):
|
||||||
|
AssertEqual ['apkbuild_lint', 'secfixes_check'], GetLinterNames('apkbuild')
|
||||||
|
|
||||||
|
let g:ale_linters_explicit = 1
|
||||||
|
|
||||||
|
AssertEqual [], GetLinterNames('apkbuild')
|
||||||
|
|
Reference in a new issue