You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is still a major problem with the Vala linter.
It needs to completely ignore the entirety of Regexp literals, everything between the / / markers!
We just had a project whose if (/^NAME="\s*(.+?)\s*"/m.match (distro_info, 0, out m)) was subtly broken by being "fixed" by vala-lint to if (/^NAME = "\s*(.+?)\s*"/m.match (distro_info, 0, out m))
It seems like linting is ignored in strings:
However, if you use regex directly, vala-lint raise "space-before-paren" error:
You need to disable linting in the line to fix this, but I feel it's not smart:
It would be great if linting is disabled in regex expressions.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: