diff options
author | w0rp <devw0rp@gmail.com> | 2017-11-09 10:32:41 +0000 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2017-11-09 10:32:41 +0000 |
commit | 8ef8a35462e9d3fbfe3fdf704e06ab957fb4ed7f (patch) | |
tree | 42f6f430d11ee003758daad88f639565ee5d20cc /ale_linters/typescript | |
parent | 8a4cf923a8a3017fa683bd27d699d9b14720cd66 (diff) | |
download | ale-8ef8a35462e9d3fbfe3fdf704e06ab957fb4ed7f.zip |
Fix #1101 - Ignore no-implicit-dependencies errors until TSLint supports checking via stdin properly
Diffstat (limited to 'ale_linters/typescript')
-rw-r--r-- | ale_linters/typescript/tslint.vim | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ale_linters/typescript/tslint.vim b/ale_linters/typescript/tslint.vim index c3852b89..e366af8f 100644 --- a/ale_linters/typescript/tslint.vim +++ b/ale_linters/typescript/tslint.vim @@ -24,6 +24,10 @@ function! ale_linters#typescript#tslint#Handle(buffer, lines) abort let l:output = [] for l:error in ale#util#FuzzyJSONDecode(a:lines, []) + if get(l:error, 'ruleName', '') is# 'no-implicit-dependencies' + continue + endif + call add(l:output, { \ 'filename': ale#path#GetAbsPath(l:dir, l:error.name), \ 'type': (get(l:error, 'ruleSeverity', '') is# 'WARNING' ? 'W' : 'E'), |