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
First of all thank you very much for this plugin that is super useful !
It's a tiny issue that I'm posting but if there is a quick fix that'd be super awesome : in VS Code, when a string matches one of the regexps used an eslint rule, only its first character is underlined :
Example:
Given this rule:
{regex: 'querySql\\([^,]+,[^,]+\\)',message: 'Pass a third argument containing query variables.',}
This code snipet matches, but only its first char q is underlined:
constresponse=awaitquerySql(prisma,query)
The behavior I'd expect would be to underline the whole string matching the regexp (ie: querySql(prisma, query))
I searched the doc for a way to fix that in the rule configuration and tried to wrap the regex between parenthesis but no luck. If I missed something please accept my apologies and point me to the right piece of documentation :)
Thanks in advance,
Pierre
The text was updated successfully, but these errors were encountered:
Hi there,
First of all thank you very much for this plugin that is super useful !
It's a tiny issue that I'm posting but if there is a quick fix that'd be super awesome : in VS Code, when a string matches one of the regexps used an eslint rule, only its first character is underlined :
Example:
Given this rule:
This code snipet matches, but only its first char
q
is underlined:The behavior I'd expect would be to underline the whole string matching the regexp (ie:
querySql(prisma, query)
)I searched the doc for a way to fix that in the rule configuration and tried to wrap the regex between parenthesis but no luck. If I missed something please accept my apologies and point me to the right piece of documentation :)
Thanks in advance,
Pierre
The text was updated successfully, but these errors were encountered: