Skip to content

LICENSE file rule shouldn't have required parameter that can be blank #155

Open
@ethomson

Description

@ethomson

The license rule has the following configuration:

    properties:
      license_type:
        type: string
        description: |
          The license type to look for.
          For example, Apache, MIT, etc.
          Leave "" to only check for the presence of the license file.
    required:
      - license_filename
      - license_type

This field should not be required. Users should be able to omit the license_type and have it behave as if an empty string were specified.

This is especially important for programmatic parsing / understanding of this structure.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1Fix Soon: High priority items that should be considered in the next Sprint planning cyclebugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions