#852 - Capture error codes for csslint

This commit is contained in:
w0rp
2017-11-18 23:15:23 +00:00
parent 2b50e68c7e
commit cefc5dc5b8
2 changed files with 18 additions and 17 deletions

View File

@@ -5,13 +5,15 @@ Execute(HandleCSSLintFormat should handle CSS errors):
\ 'lnum': 2,
\ 'col': 1,
\ 'type': 'E',
\ 'text': '(errors) Expected RBRACE at line 2, col 1.',
\ 'text': 'Expected RBRACE at line 2, col 1.',
\ 'code': 'errors',
\ },
\ {
\ 'lnum': 2,
\ 'col': 5,
\ 'type': 'W',
\ 'text': '(known-properties) Expected ... but found ''wat''.',
\ 'text': 'Expected ... but found ''wat''.',
\ 'code': 'known-properties',
\ },
\ ],
\ ale#handlers#css#HandleCSSLintFormat(42, [