Skip to content
This repository was archived by the owner on Jul 16, 2023. It is now read-only.
This repository was archived by the owner on Jul 16, 2023. It is now read-only.

How to ignore avoid-unused-ignores? #1224

Closed
@elliette

Description

@elliette

Environment and configuration

DCM version: 1.3.1
Dart SDK version: 3.0.0-290.3.beta

We are getting a bunch of warnings for `avoid-unused-ignores`, despite the fact that the rule is not enabled in our DCM config, and the warning itself doesn't link to an actual rule. Is there a way to disable `avoid-unused-ignores`?
WARNING   This ignore does not suppress any diagnostic. Consider removing it.
          at /Users/elliottbrooks/dev/devtools/packages/devtools_app/lib/src/service/service_manager.dart:344:16
          avoid-unused-ignores : https://dcm.dev/docs/individuals/rules

YAML: https://github.com/flutter/devtools/blob/master/analysis_options.yaml

What did you do?

Ran dcm analyze ...

What did you expect to happen?

Be able to ignore the rule avoid-unused-ignores

What actually happened?

Unable to ignore the rule avoid-unused-ignores

Participation

  • I am willing to submit a pull request for this issue.

Additional comments

No response

Metadata

Metadata

Assignees

Labels

type: bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions