💅 incorrectlint/style/useTemplate
on multiline template string
#4947
Labels
A-Linter
Area: linter
L-JavaScript
Language: JavaScript and super languages
S-Bug-confirmed
Status: report has been confirmed as a valid bug
S-Help-wanted
Status: you're familiar with the code base and want to help the project
Environment information
Rule name
lint/style/useTemplate
Playground link
https://biomejs.dev/playground/?code=YwBvAG4AcwB0ACAAVgBBAEwAVQBFACAAPQAgACcAdABlAHMAdAAnAAoACgBjAG8AbgBzAHQAIABzAHQAcgBpAG4AZwAgAD0AIABgACQAewBWAEEATABVAEUAfQAgAHQAZQBtAHAAbABhAHQAZQBgACAAKwAgACcAIABpAG4AdgBhAGwAaQBkACcACgA%3D
Expected result
When template string is used, we often have to use
+
to fold multiple lines for text visibility, butlint/style/useTemplate
doesn't accept that even though the template is actually used.Code of Conduct
The text was updated successfully, but these errors were encountered: