Skip to content

How to drop into existing codebase? #396

@mluogh-xdof

Description

@mluogh-xdof

I'm trying to drop this into an existing codebase which already has many issues with dead code.

My desired solution would be that it only alerts on the files that have been changed, so that we can incrementally delete dead code and those most familiar with the file can do so.

However, according to #281, seems like if I pass in the changed files in the pre-commit, it will only check usage against those files instead of the whole codebase which will produce a bunch of false positives.

One way I see is to generate a whitelist right now so it won't complain for current errors, and just have this going forward. And maybe remove some stuff from the whitelist every now and then.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions