💅 noChildrenProp doesn't throw warning/error when children passed as a prop is placed in a new a line #2211
Labels
good first issue
Good for newcomers
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
noChildrenProp
Playground link
https://biomejs.dev/playground/?code=YwBvAG4AcwB0ACAAQQBwAHAAIAA9ACAAKAApACAAPQA%2BACAAewAKAAkAcgBlAHQAdQByAG4AIAAoAAoACQAJADwAPgAKAAkACQAJADwAQwBoAGkAbABkACAAYwBoAGkAbABkAHIAZQBuAD0AJwBXAG8AcgBsAGQAJwAgAC8APgAKAAkACQAJADwAQwBoAGkAbABkAAoACQAJAAkACQAvAC8ACgAJAAkACQAJAGMAaABpAGwAZAByAGUAbgA9ACcASABlAGwAbABvACcACgAJAAkACQAvAD4ACgAJAAkACQA8AEMAaABpAGwAZAAgAAoAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIABjAGwAYQBzAHMATgBhAG0AZQA9ACcAdABlAHMAdABpAG4AZwAnAAoAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIABjAGgAaQBsAGQAcgBlAG4APQAnAEgAZQBsAGwAbwAnAAoAIAAgACAAIAAgACAAIAAgACAAIAAgACAALwA%2BAAoACQAJADwALwA%2BAAoACQApADsACgB9ADsACgAKAGMAbwBuAHMAdAAgAEMAaABpAGwAZAAgAD0AIAAoAHsAIABjAGgAaQBsAGQAcgBlAG4ALAAgAC4ALgAuAHIAZQBzAHQAIAB9ADoAIAB7ACAAYwBoAGkAbABkAHIAZQBuADoAIABSAGUAYQBjAHQALgBSAGUAYQBjAHQATgBvAGQAZQA7ACAAYwBsAGEAcwBzAE4AYQBtAGUAPwA6ACAAcwB0AHIAaQBuAGcAIAB9ACkAIAA9AD4AIAB7AAoACQByAGUAdAB1AHIAbgAgADwAcwBwAGEAbgAgAHsALgAuAC4AcgBlAHMAdAB9AD4AewBjAGgAaQBsAGQAcgBlAG4AfQA8AC8AcwBwAGEAbgA%2BADsACgB9ADsACgA%3D
Expected result
It should throw/error warning when children is passed as a prop regardless of the placement of prop whether all props are placed in one line or in a separate line
Code of Conduct
The text was updated successfully, but these errors were encountered: