💅 [useNamingConvention] Ignore declarations inside an external TypeScript module #4545
Open
1 task done
Labels
A-Linter
Area: linter
L-JavaScript
Language: JavaScript and super languages
S-Bug-confirmed
Status: report has been confirmed as a valid bug
Rule name
lint/style/useNamingConvention
Description
The documentation says that "declarations inside an external TypeScript module" should be ignored by
useNamingConvention
(as described at the bottom of the relevant docs section), but the implementation actually complains about them.Example:
Expected Result
No Errors are reported
Actual Result
Lint is generated for
my_INTERFACE
.Playground link
https://biomejs.dev/playground/?lintRules=all&code=ZABlAGMAbABhAHIAZQAgAG0AbwBkAHUAbABlACAAIgBtAHkARQB4AHQAZQByAG4AYQBsAE0AbwBkAHUAbABlACIAIAB7AAoAIAAgAGUAeABwAG8AcgB0ACAAaQBuAHQAZQByAGYAYQBjAGUAIABtAHkAXwBJAE4AVABFAFIARgBBAEMARQAgAHsAfQAKAH0ACgA%3D
Environment information
https://github.com/biomejs/biome/actions/runs/11854065273/job/33035446404?pr=4542
Tangentially related issues:
Code of Conduct
The text was updated successfully, but these errors were encountered: