Closed edfenergy-SteveD closed 1 week ago
This doesn't seem a bug but a feature request?
I'm trying to implement a matcher in useNamingConvention to align to an object member that begins with a dollar sign, using the regex \$(.+), however it's not accepting the escaped $.
I guess it is in the Biome JSON config file? In that case you have to double escape \
: \\$(.+)
. You can also write [$](.+)
@Conaclos - oh for goodness' sake, that was it. Thank you!
Environment information
What happened?
I'm trying to implement a matcher in useNamingConvention to align to an object member that begins with a dollar sign, using the regex
\$(.+)
, however it's not accepting the escaped $.Can support for this be included in a future build please? We've got a number of api calls that use this format in our project and, at the moment, they're littered with biome-ignores.
Expected result
\$(.+)
is an acceptable matcherCode of Conduct