Add to linter "NoUnusedExports" #827
Closed
jacobdalamb
started this conversation in
RFC
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Objective
The primary goal of this feature is to identify and flag any exports in a module that are not being used in any other part of the application. This enhancement aligns with the best practices of clean and efficient coding, ensuring that our codebase remains lean and maintainable.
Feature Description
The "NoUsedExports" feature will:
Scan all modules in a project to track exports.
Identify exports that are not imported or used in any other modules.
Flag these unused exports as warnings/errors in the linter report.
Be configurable to either warn or error out in the build process.
Beta Was this translation helpful? Give feedback.
All reactions