-
-
Notifications
You must be signed in to change notification settings - Fork 482
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🐛 noLabelWithoutControl
false positives when labels are expressions
#3875
Comments
@lifeiscontent Have you tried configuring the rule? Specifically I'm talking about |
same here, this fails
|
@wojtekmaj yes, I would have in the playground, but no option to change the config from what I can tell |
@Conaclos how can i config or disable this rule noLabelWithoutControl in biome.js file. Thank You, for your support |
{
"linter": {
"rules": {
"a11y": {
"noLabelWithoutControl": "off"
}
}
}
} |
You're probably using an old version of the schema |
Yep, i just saw the $schema, in the config it was 1.8.3 but i had installed 1.9.2, after changing it to latest one it is working fine, i am able to disable this rule.. Thank You 😎👍 |
We always recommend running |
Environment information
What happened?
https://biomejs.dev/playground/?code=YwBvAG4AcwB0ACAAbABhAGIAZQBsACAAPQAgACIAVABoAGkAcwAgAGkAcwAgAG4AbwB0ACAAbwBrAGEAeQAiADsACgAKADwAPgAKACAAIAA8AGkAbgBwAHUAdAAgAGkAZAA9ACIAbwBuAGUAIgAgAC8APgAKACAAIAB7AC8AKgAgAFUAbgBkAGUAcgBzAHQAYQBuAGQAYQBiAGwAeQAgAG4AbwB0ACAAbwBrAGEAeQAgACoALwB9AAoAIAAgADwAbABhAGIAZQBsACAAaAB0AG0AbABGAG8AcgA9ACIAbwBuAGUAIgA%2BADwALwBsAGEAYgBlAGwAPgAKACAAIAAKACAAIAA8AGkAbgBwAHUAdAAgAGkAZAA9ACIAdAB3AG8AIgAgAC8APgAKACAAIAA8AGwAYQBiAGUAbAAgAGgAdABtAGwARgBvAHIAPQAiAHQAdwBvACIAPgBUAGgAaQBzACAAaQBzACAAbwBrAGEAeQA8AC8AbABhAGIAZQBsAD4ACgAgACAACgAgACAAPABpAG4AcAB1AHQAIABpAGQAPQAiAHQAaAByAGUAZQAiACAALwA%2BAAoAIAAgADwAbABhAGIAZQBsACAAaAB0AG0AbABGAG8AcgA9ACIAdABoAHIAZQBlACIAPgB7AGwAYQBiAGUAbAB9ADwALwBsAGEAYgBlAGwAPgAKACAAIAAKACAAIAA8AGkAbgBwAHUAdAAgAGkAZAA9ACIAZgBvAHUAcgAiACAALwA%2BAAoAIAAgADwAbABhAGIAZQBsACAAaAB0AG0AbABGAG8AcgA9ACIAZgBvAHUAcgAiAD4AewAnAEEAcABwAGEAcgBlAG4AdABsAHkAIAB0AGgAaQBzACAAaQBzACAAYQBsAHMAbwAgAG4AbwB0ACAAbwBrAGEAeQAnAH0APAAvAGwAYQBiAGUAbAA%2BAAoAIAAgAAoAIAAgADwAaQBuAHAAdQB0ACAAaQBkAD0AIgBmAGkAdgBlACIAIAAvAD4ACgAgACAAPABsAGEAYgBlAGwAIABoAHQAbQBsAEYAbwByAD0AIgBmAGkAdgBlACIAPgBUAGgAYQBuAGsAZgB1AGwAbAB5ACAAewAnAGEAdAAgAGwAZQBhAHMAdAAgAHQAaABpAHMAIABpAHMAIABvAGsAYQB5ACcAfQA8AC8AbABhAGIAZQBsAD4ACgA8AC8APgA%3D
Expected result
Labels that are statically analyzable to confirm they will result in a non-empty string should not be reported as errors.
This was not happening in 1.8.3, started showing up in 1.9.0.
Code of Conduct
The text was updated successfully, but these errors were encountered: