💅 lint/nursery/noMissingVarFunction doesnt recognize var() after line break #4190
Closed
1 task done
Labels
A-Linter
Area: linter
L-CSS
Language: CSS
S-Bug-confirmed
Status: report has been confirmed as a valid bug
Environment information
Rule name
lint/nursery/noMissingVarFunction
Playground link
https://biomejs.dev/playground/?lintRules=all&files.main.tsx=&files.styles.css=OgByAG8AbwB0ACAAewAKACAAIAAtAC0AYwBvAGwAbwByAHMALQBnAHIAYQB5AC0AYQA3ADoAIABiAGwAYQBjAGsAOwAKACAAIAAvACoAIABUAGgAZQAgAGYAbwByAG0AYQB0AHQAZQByACAAYgByAGUAYQBrAHMAIAB0AGgAZQAgAGwAaQBuAGUAIAAqAC8ACgAgACAALQAtAGIAcgBvAGsAZQBuAC0AcwBoAGEAZABvAHcAOgAgADAAcAB4ACAAMQBwAHgAIAAyAHAAeAAgAHYAYQByACgALQAtAGMAbwBsAG8AcgBzAC0AYgBsAGEAYwBrAC0AYQAzACkALAAgADAAcAB4ACAAMABwAHgAIAAxAHAAeAAKACAAIAAgACAAdgBhAHIAKAAtAC0AYwBvAGwAbwByAHMALQBnAHIAYQB5AC0AYQA3ACkAOwAKAAoAIAAgAC8AKgAgAFcAaQB0AGgAbwB1AHQAIABsAGkAbgBlACAAYgByAGUAYQBrACwAIABpAHQAIAB3AG8AcgBrAHMAIABmAGkAbgBlACAAKgAvAAoAIAAgAC0ALQB3AG8AcgBrAGkAbgBnAC0AcwBoAGEAZABvAHcALQBuAG8ALQBsAGkAbgBlAC0AYgByAGUAYQBrADoAIAAwAHAAeAAgADEAcAB4ACAAMgBwAHgAIAB2AGEAcgAoAC0ALQBjAG8AbABvAHIAcwAtAGIAbABhAGMAawAtAGEAMwApACwAIAAwAHAAeAAgADAAcAB4ACAAMQBwAHgAIAB2AGEAcgAoAC0ALQBjAG8AbABvAHIAcwAtAGcAcgBhAHkALQBhADcAKQA7AAoAfQA%3D
Expected result
Should not throw an error. The linter throws bc it does not recognize the
var()
function being used after a line break, even though it is using the function correctly. If the line break is removed, the error goes away. Also, the formatter is producing the line break - so the path to a solution may start there.Code of Conduct
The text was updated successfully, but these errors were encountered: