You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
it shouldn't report any error because specifying the constructor as public is required to make the class instantiable.
perhaps there should be a lint rule that says to make a class abstract instead of using a protected constructor.
Code of Conduct
I agree to follow Biome's Code of Conduct
The text was updated successfully, but these errors were encountered:
Environment information
Rule name
lint/complexity/noUselessConstructor
Playground link
https://biomejs.dev/playground/?code=YwBsAGEAcwBzACAAQgBhAHMAZQAgAHsACgAJAHAAcgBvAHQAZQBjAHQAZQBkACAAYwBvAG4AcwB0AHIAdQBjAHQAbwByACgAKQAgAHsACgAJAAkAYwBvAG4AcwBvAGwAZQAuAGwAbwBnACgAIgBiAGEAcwBlACAAYwBsAGEAcwBzACIAKQA7AAoACQB9AAoAfQAKAGMAbABhAHMAcwAgAEkAbQBwAGwAZQBtAGUAbgB0AGEAdABpAG8AbgAgAGUAeAB0AGUAbgBkAHMAIABCAGEAcwBlACAAewAKAAkAcAB1AGIAbABpAGMAIABjAG8AbgBzAHQAcgB1AGMAdABvAHIAKAApACAAewAKAAkACQBzAHUAcABlAHIAKAApADsACgAJAH0ACgB9AAoAYwBvAG4AcwBvAGwAZQAuAGwAbwBnACgAbgBlAHcAIABJAG0AcABsAGUAbQBlAG4AdABhAHQAaQBvAG4AKAApACkAOwA%3D
Expected result
it shouldn't report any error because specifying the constructor as public is required to make the class instantiable.
perhaps there should be a lint rule that says to make a class abstract instead of using a protected constructor.
Code of Conduct
The text was updated successfully, but these errors were encountered: