mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-10 06:21:53 +08:00
Add a function for getting matches, and use it to simplify a lot of code
This commit is contained in:
@@ -6,19 +6,16 @@ Execute(The slim handler should parse lines correctly):
|
||||
AssertEqual
|
||||
\ [
|
||||
\ {
|
||||
\ 'bufnr': 347,
|
||||
\ 'lnum': 1,
|
||||
\ 'text': 'RedundantDiv: `div` is redundant when class attribute shortcut is present',
|
||||
\ 'type': 'W',
|
||||
\ },
|
||||
\ {
|
||||
\ 'bufnr': 347,
|
||||
\ 'lnum': 2,
|
||||
\ 'text': 'LineLength: Line is too long. [136/80]',
|
||||
\ 'type': 'W',
|
||||
\ },
|
||||
\ {
|
||||
\ 'bufnr': 347,
|
||||
\ 'lnum': 3,
|
||||
\ 'text': 'Invalid syntax',
|
||||
\ 'type': 'E',
|
||||
|
||||
Reference in New Issue
Block a user