After running biome check --apply, it auto-fixes HTMLElementTagNameMap into HtmlElementTagNameMap.
class Abc {}
declare global {
interface HtmlElementTagNameMap {
'test-abc': Abc;
}
}
Expected behavior
After running biome check --apply, it should not auto-fix HTMLElementTagNameMap and HTMLElementTagNameMap is a valid interface name that does not have to follow the naming convention defined by the useNamingConvention rule.
class Abc {}
declare global {
interface HTMLElementTagNameMap {
'test-abc': Abc;
}
}
Environment information
Rule name
useNamingConvention
Playground link
https://biomejs.dev/playground/?lintRules=all&code=YwBsAGEAcwBzACAAQQBiAGMAIAB7AH0ACgAKAGQAZQBjAGwAYQByAGUAIABnAGwAbwBiAGEAbAAgAHsACgAgACAAaQBuAHQAZQByAGYAYQBjAGUAIABIAFQATQBMAEUAbABlAG0AZQBuAHQAVABhAGcATgBhAG0AZQBNAGEAcAAgAHsACgAgACAAIAAgACcAdABlAHMAdAAtAGEAYgBjACcAOgAgAEEAYgBjADsACgAgACAAfQAKAH0ACgA%3D
Expected result
Actual behavior
After running
biome check --apply
, it auto-fixesHTMLElementTagNameMap
intoHtmlElementTagNameMap
.Expected behavior
After running
biome check --apply
, it should not auto-fixHTMLElementTagNameMap
andHTMLElementTagNameMap
is a valid interface name that does not have to follow the naming convention defined by theuseNamingConvention
rule.Code of Conduct