Skip to content

DevDocs: Unused Code Files, Dependencies, Exports cleanup and detection with GitHub Action #99

Description

@palisadoes

Is your feature request related to a problem? Please describe.

We have many unused dependencies, code files and exports in the repository.

Describe the solution you'd like

  1. We need to detect and remove unused code files under the /src directory, unused dependencies and unused exports.
  2. We need to have a GitHub action that fails if unused code files are found under the src/ directory or unused exports or unused dependencies are found in the repository.
  3. The GitHub action must be able to exclude files that are configuration related in the tree.
  4. The solution must used non-deprecated and actively maintained repositories.
  5. All tests must be valid and pass.

Describe alternatives you've considered

  • N/A

Approach to be followed (optional)

Use Knip tool to detect unused files, dependencies and exports.

Additional context

Potential internship candidates

Please read this if you are planning to apply for a Palisadoes Foundation internship

Activity

  1. satyanvm commented on Nov 18, 2025

    @satyanvm
    Contributor

    /assign

  2. palisadoes-bot commented on Nov 18, 2025

    @palisadoes-bot

    ❌ @satyanvm First time contributors cannot use auto assignment. You have not successfully merged code into this repository. Please ask to be assigned instead.

  3. satyanvm commented on Nov 18, 2025

    @satyanvm
    Contributor

    I would like to work on the issue, can you please assign it to me.

  4. github-actions commented on Nov 26, 2025

    @github-actions

    This issue did not get any activity in the past 10 days and will be closed in 180 days if no update occurs. Please check if the develop branch has fixed it and report again or close the issue.

  5. palisadoes commented on Nov 26, 2025

    @palisadoes
    ContributorAuthor

    Unassigned, inactivity

  6. 2 remaining items

  7. As-ajay06 commented on Nov 28, 2025

    @As-ajay06

    Can i work on this issue, i have read all the instruction to contribute to this repo.

  8. As-ajay06 commented on Nov 28, 2025

    @As-ajay06

    why github-actions unapproved me.

  9. satyanvm commented on Nov 28, 2025

    @satyanvm
    Contributor

    why github-actions unapproved me.

    The unapproved tag has been removed because the issue has been assigned to you, it's the procedure - when an issue gets assignment the unapproved tag is removed, you don't need to worry about it. If you need any help with the issue you can hit me up and we can collaborate as I have added Knip configuration in the other repos. Thank you so much.

  10. github-actions commented on Dec 6, 2025

    @github-actions

    This issue did not get any activity in the past 10 days and will be closed in 180 days if no update occurs. Please check if the develop branch has fixed it and report again or close the issue.

  11. palisadoes commented on Dec 6, 2025

    @palisadoes
    ContributorAuthor

    Unassigned. Inactivity

  12. satyanvm commented on Dec 6, 2025

    @satyanvm
    Contributor

    @palisadoes I have done this locally and can raise a PR promptly, can you please assign this to me?

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions