summaryrefslogtreecommitdiff
path: root/ale_linters/html
diff options
context:
space:
mode:
authorNicolas Blanchot <nicolasblanchot@gmail.com>2024-01-14 12:43:31 +0100
committerGitHub <noreply@github.com>2024-01-14 20:43:31 +0900
commit32e6fc5975aacd83ae15958b52311b08a094883a (patch)
tree62c2aee6db9d0abff1d3c1452a106d330cf81aef /ale_linters/html
parent562680e78682942de83b042f7bc294135dcd3bae (diff)
downloadale-32e6fc5975aacd83ae15958b52311b08a094883a.zip
Stylelint linter output stream can go to stderr (#4702)
Since [version 13.6.0](https://github.com/stylelint/stylelint/blob/804bb24c75248aba55b009994e4bfb561593a990/CHANGELOG.md?plain=1#L654), following [PR 4799](https://github.com/stylelint/stylelint/pull/4799) `stylelint` errors are sent to `stderr`. Previous versions where sending errors to `stdout`.
Diffstat (limited to 'ale_linters/html')
-rw-r--r--ale_linters/html/stylelint.vim1
1 files changed, 1 insertions, 0 deletions
diff --git a/ale_linters/html/stylelint.vim b/ale_linters/html/stylelint.vim
index 6b7aba40..c191c468 100644
--- a/ale_linters/html/stylelint.vim
+++ b/ale_linters/html/stylelint.vim
@@ -21,6 +21,7 @@ endfunction
call ale#linter#Define('html', {
\ 'name': 'stylelint',
+\ 'output_stream': 'both',
\ 'executable': function('ale_linters#html#stylelint#GetExecutable'),
\ 'command': function('ale_linters#html#stylelint#GetCommand'),
\ 'callback': 'ale#handlers#css#HandleStyleLintFormat',