Open Kristinita opened 6 years ago
No matches for regex: (?xi)
Same issue here, most of the time i get parse error in the console. Any preferred reporter config that definitely works?
SublimeLinter: #1 SublimeLinter.sublime-package:790: stylint output:
c:\users\sashac~1\appdata\local\temp\tmpqxjxyj.styl
FILE LINEDATA SEVERITY DESCRIPTION RULE C:\USERS\SASHAC~1\APPDATA\LOCAL\TEMP\TMPQXJXYJ.STYL
c:\users\sashac~1\appdata\local\temp\tmpqxjxyj.styl 1:12 warning unnecessary bracket brackets true
c:\users\sashac~1\appdata\local\temp\tmpqxjxyj.styl 2:6 warning unnecessary colon found colons true
c:\users\sashac~1\appdata\local\temp\tmpqxjxyj.styl 2:11 warning unnecessary semicolon found semicolons true
c:\users\sashac~1\appdata\local\temp\tmpqxjxyj.styl 3 warning unnecessary bracket brackets true
This isn't matching because the output includes the filename at the very beginning — if you turn groupOutputByFile
off, it should work.
That said, this should really be able to handle that case, so I'll work on it. Thank you for the report @Kristinita
Just wanted to give an update on this: the plugin does not work well in many cases, I have opened a PR with stylint to help resolve this (https://github.com/SimenB/stylint/pull/454). The root issue is that parsing stylint warnings and errors is difficult, because there is no way for this plugin to dictate the format of those errors, and their format can vary drastically between versions and configurations. Once the PR above has been merged, it should be possible to get this plugin working better. 🙏
1. Summary
Options from
.stylintrc
doesn't work for me.#9 — possibly related issue.
2. Environment
3. Configuration
.stylintrc
:SashaStylus.styl
:User/SublimeLinter.sublime-settings
:4. Steps to reproduce
I reproduce the problem in a version of Sublime Text without plugins and user settings.
I install SublimeLinter and SublimeLinter-contrib-stylint → I restart Sublime Text → I open Sublime Text console → I open
SashaStylus.styl
.5. Expected behavior
If Stylint CLI:
6. Actual behavior
stylint(ok)
, no gutter marks.Warnings show in console.
Thanks.