What happened?
Hi,
I have a monorepo with packages that are being published as libraries. I also have some classes in some of these packages, which I re-export in the entry file of the package. The entry file is covered in the fallow config and the packages are specified in the publicPackages property in the fallow config.
But fallow now reports the member properties of those classes as unused. I would expect it not to do that.
Am I missing something, or should this work differently?
Reproduction
- clone this example repo and install via npm install:
https://github.com/ghost23/fallow-test
- Run latest fallow
Among other things it shows this error:
● Unused class members (1)
packages/async/src/lib/async-retry.ts
:40 TimeoutError.prettyCoolFunction
Expected behavior
Although this member method is indeed not used in the workspace, I would expect fallow not to complain because this method is part of public API surface for the library "async-retry".
Fallow version
2.63.0
Operating system
macOS
Configuration
What happened?
Hi,
I have a monorepo with packages that are being published as libraries. I also have some classes in some of these packages, which I re-export in the entry file of the package. The entry file is covered in the fallow config and the packages are specified in the publicPackages property in the fallow config.
But fallow now reports the member properties of those classes as unused. I would expect it not to do that.
Am I missing something, or should this work differently?
Reproduction
https://github.com/ghost23/fallow-test
Among other things it shows this error:
● Unused class members (1) packages/async/src/lib/async-retry.ts :40 TimeoutError.prettyCoolFunctionExpected behavior
Although this member method is indeed not used in the workspace, I would expect fallow not to complain because this method is part of public API surface for the library "async-retry".
Fallow version
2.63.0
Operating system
macOS
Configuration