summaryrefslogtreecommitdiff
path: root/ale_linters/less
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/less
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/less')
-rw-r--r--ale_linters/less/stylelint.vim1
1 files changed, 1 insertions, 0 deletions
diff --git a/ale_linters/less/stylelint.vim b/ale_linters/less/stylelint.vim
index 83f784c4..9430fe9b 100644
--- a/ale_linters/less/stylelint.vim
+++ b/ale_linters/less/stylelint.vim
@@ -12,6 +12,7 @@ endfunction
call ale#linter#Define('less', {
\ 'name': 'stylelint',
+\ 'output_stream': 'both',
\ 'executable': {b -> ale#path#FindExecutable(b, 'less_stylelint', [
\ 'node_modules/.bin/stylelint',
\ ])},