mirror of
https://github.com/dense-analysis/ale
synced 2025-01-10 00:09:37 +00:00
19437e25d0
* Create rflint.vim support for robot framework by creating ale definition for rflint syntax linter * robot framework - rflint support
34 lines
811 B
Plaintext
34 lines
811 B
Plaintext
Before:
|
|
runtime ale_linters/robot/rflint.vim
|
|
|
|
After:
|
|
call ale#linter#Reset()
|
|
|
|
Execute(Warning and error messages should be handled correctly):
|
|
AssertEqual
|
|
\ [
|
|
\ {
|
|
\ 'bufnr': 1,
|
|
\ 'filename': 'test.robot',
|
|
\ 'type': 'W',
|
|
\ 'lnum': 1,
|
|
\ 'col': 2,
|
|
\ 'text': 'RequireSuiteDocumentation',
|
|
\ 'detail': 'No suite documentation',
|
|
\ },
|
|
\ {
|
|
\ 'bufnr': 1,
|
|
\ 'filename': 'test.robot',
|
|
\ 'type': 'E',
|
|
\ 'lnum': 3,
|
|
\ 'col': 4,
|
|
\ 'text': 'RequireTestDocumentation',
|
|
\ 'detail': 'No testcase documentation',
|
|
\ },
|
|
\ ],
|
|
\ ale_linters#robot#rflint#Handle(1, [
|
|
\ 'test.robot:W:1:2:RequireSuiteDocumentation:No suite documentation',
|
|
\ 'test.robot:E:3:4:RequireTestDocumentation:No testcase documentation'
|
|
\])
|
|
|