Skip to content

No warning for unrecognised top level keys on analysis_options #60124

Open
@FMorschel

Description

@FMorschel
  1. Create a new Flutter project with the latest stable
  2. On analysis_options.yaml add:
lints:
  rules:
    prefer_relative_imports: true
    always_use_package_imports: true

This is not triggering incompatible_lint which I could see on latest main. Not sure if I'm doing something wrong here but I don't think so.

The rule 'always_use_package_imports' is incompatible with the rule 'prefer_relative_imports'.
Try removing one of the incompatible rules.dart(incompatible_lint)

CC @DanTup @pq

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3A lower priority bug or feature requestanalyzer-analysis-optionsarea-devexpFor issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.type-enhancementA request for a change that isn't a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions