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
Can you provide an example of where this was incorrectly flagged? Current regex ^[ \t]*[$%] should only flag $ when it's the first character in a line with the exception of spaces and tabs.
110:7 warning Avoid using prompts in code Canonical.015-No-prompts-in-comments
blocks: $
126:14 warning Avoid using prompts in code Canonical.015-No-prompts-in-comments
blocks: $
Hmm, it's not respecting the start of line syntax (^). Strange. Looks like it's some upstream issue.
Try the following syntax, and see what you think:
- '\n([ \t]*|[^\n~]~\]?)(\$|%)'
Run Vale, then change it in your repository, if the Vale config files exist they won't be overwritten again.
The only issue with this solution is that it points at the line above an instance rather than the occurrence itself. It's probably the best we can do for now.
A $ sign preceded by " might often indicate a variable rather than a command prompt.
For example:
The text was updated successfully, but these errors were encountered: