fix(lint): revamp the noGlobalDirnameFilename rule to catch many false negatives#8922
fix(lint): revamp the noGlobalDirnameFilename rule to catch many false negatives#8922siketyan merged 1 commit intobiomejs:mainfrom
noGlobalDirnameFilename rule to catch many false negatives#8922Conversation
🦋 Changeset detectedLatest commit: 5270d7a The changes in this PR will be included in the next version bump. This PR includes changesets to release 13 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
WalkthroughRefactors the Possibly related PRs
Suggested labels
Suggested reviewers
🚥 Pre-merge checks | ✅ 2✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
Comment |
CodSpeed Performance ReportMerging this PR will not alter performanceComparing Summary
Footnotes
|
Summary
Fixes #8829
The rule will now use
JsReferenceIdentifiernode to query all usages of__dirnameand__filenamein many locations.Test Plan
Added snapshot tests from the issue.
Docs
N/A