Bug: [no-unused-vars] still false positive if name is type/value merged and exported #7336
Closed
4 tasks done
Labels
external
This issue is with another package, not typescript-eslint itself
fix: user error
issue was fixed by correcting the configuration / correcting the code
Before You File a Bug Report Please Confirm You Have Done The Following...
Issue Description
I know that previously this bug issue was submitted related to false positives with types merged and exported, today I still see the same error in my own repo.
I've tried:
typescript-eslint
only.Is this a me problem or the issue still persists with the
no-unused-vars
rule?The basic snippet lives in the repo linked, in this file
./lib/test.ts
(screenshot below), the original code (and more complex) that was causing me problems lives in./lib/OpenGraph.ts
Reproduction Repository Link
https://github.com/Dannymx/shockinglemon.com/tree/bug/no-unused-vars
Repro Steps
pnpm install
pnpm lint
./lib/test.ts
in vscode (this is what I use and where I see the error too)./lib/OpenGraph.ts
for a real code example where I'm seeing the error tooVersions
@typescript-eslint/eslint-plugin
6.2.0
@typescript-eslint/parser
6.2.0
@typescript-eslint/scope-manager
X.Y.Z
@typescript-eslint/typescript-estree
X.Y.Z
@typescript-eslint/type-utils
X.Y.Z
@typescript-eslint/utils
X.Y.Z
TypeScript
5.1.6
ESLint
8.45.0
node
v18.17.0
The text was updated successfully, but these errors were encountered: