Skip to content

Configure lints for DWDS #1644

@elliette

Description

@elliette

DWDS currently has no lints set in analysis_options.yaml.

We should include some lints to help improve the health of the codebase, eg prefer_final_locals.

With each new lint we add, we can apply them across the codebase with:

  • dart fix --dry-run
  • dart fix --apply
  • dart analyze - this catches any lint errors that can't be auto-fixed
  • dart format .

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions