Skip to content
This repository has been archived by the owner on Feb 20, 2023. It is now read-only.
This repository has been archived by the owner on Feb 20, 2023. It is now read-only.

Add Lint Check for Licenses In New Files #8947

Closed
@ekager

Description

In #8946 I set up a module so we can add our custom lint checks. Adding one where we check licenses could save us some review time and prevent missed licenses.

It looks like we could do something like this to check the comments in a file: https://android.googlesource.com/platform/tools/base/+/studio-master-dev/lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/CommentDetector.java

┆Issue is synchronized with this Jira Task

Metadata

Assignees

No one assigned

    Labels

    P5Never, but will accept a patcheng:healthImprove code healthwontfix

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions