Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

False positive on re-export in index.ts #302

Open
kuhelbeher opened this issue May 23, 2024 · 1 comment
Open

False positive on re-export in index.ts #302

kuhelbeher opened this issue May 23, 2024 · 1 comment

Comments

@kuhelbeher
Copy link

kuhelbeher commented May 23, 2024

I'm getting error when I'm re-exporting variable in index.ts file:
image

ts-unused-exports version - 10.0.1. On version 8.0.2 everything works fine.

Repo to reproduce - https://github.com/kuhelbeher/unused-exports-test

Steps to reproduce:

yarn install
yarn lint:unusedexports

> 1 module with unused exports
> C:\Projects\unused-exports-test\src\module\index.ts[3,0]: a
> error Command failed with exit code 1.
> info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

This may be connected to similar issue - #216

@sospirited
Copy link

sospirited commented Jun 6, 2024

I've seen this issue too and found it to be Windows OS specific and not an issue on MacOS, similar experience where on v8.0.2 I saw it was fine for me but not on later major versions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants