💅 Improve nursery/noNodejsModules
detection (ignore type only imports and apply it only on use-client
directives)
#1674
Labels
A-Linter
Area: linter
L-JavaScript
Language: JavaScript and super languages
S-Enhancement
Status: Improve an existing feature
S-Help-wanted
Status: you're familiar with the code base and want to help the project
Environment information
Rule name
nursery/noNodejsModules
Playground link
https://biomejs.dev/playground/?lintRules=all&code=aQBtAHAAbwByAHQAIAB0AHkAcABlACAAewAgAEEAcwB5AG4AYwBMAG8AYwBhAGwAUwB0AG8AcgBhAGcAZQAgAH0AIABmAHIAbwBtACAAIgBuAG8AZABlADoAYQBzAHkAbgBjAF8AaABvAG8AawBzACIAOwAKAAoAZQB4AHAAbwByAHQAIAB0AHkAcABlACAAVABlAHMAdAAgAD0AIABBAHMAeQBuAGMATABvAGMAYQBsAFMAdABvAHIAYQBnAGUA
Expected result
use client
directive is being used.Code of Conduct
The text was updated successfully, but these errors were encountered: