Skip to content

Commit 07519e7

Browse files
authored
Merge pull request #22 from ohboylan/stylelint-16-support
2 parents bc1017e + a3bd27e commit 07519e7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

linter.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,16 @@
22
import re
33
import logging
44
from SublimeLinter.lint import NodeLinter
5+
from SublimeLinter.lint import util
56
from SublimeLinter.lint.linter import LintMatch
67

78
logger = logging.getLogger('SublimeLinter.plugin.stylelint')
89

910

1011
class Stylelint(NodeLinter):
1112
cmd = 'stylelint --formatter json --stdin-filename ${file}'
13+
on_stderr = None
14+
error_stream = util.STREAM_BOTH
1215
line_col_base = (1, 1)
1316
crash_regex = re.compile(
1417
r'^.*?\r?\n?\w*Error: (.*)',

0 commit comments

Comments
 (0)