I'm trying to match the following pattern where this method is invoked with a string literal passed in instead of a method call.
I want to highlight the following cases in order to apply a hint/warning:
in favor of something like this
I've tried numerous variations with name being an argument, an identifier, with quotes, without quotes. I can't get it to match cases where a string literal is passed in. If I omit the quotes below it will match every case including ones that are the correct usage.