Skip to content

Add strict_raw_type to ignore_for_file in generated file #792

Description

@corran2go

Is there an existing issue?

Use case

I'd like to get rid of the analyzer warning regarding EntityDefinition<dynamic> when using strict-raw-types analyzer option:

The generic type 'EntityDefinition<dynamic>' should have explicit type arguments but doesn't.
Use explicit type arguments for 'EntityDefinition<dynamic>'.

Proposed solution

Maybe this can be more specific or just add strict_raw_type to the already generated line:

// ignore_for_file: camel_case_types, depend_on_referenced_packages

Activity

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

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions