Skip to content

[linter] my monthly linter list #60147

@stephane-archer

Description

@stephane-archer

I have a list of linter that is always on to help me avoid mistakes like unawaited_futures (that probably should be a default) and a list of commented linter that I run a few times a week to make my code simpler to think about.
these include: specify_nonobvious_local_variable_types, prefer_const_constructors, prefer_final_locals for example.

These linters make my code better and easier to read, but I would hate having them on when programming. They are great after you are done working.

right now my solution has been:

  • uncomment lints
  • dart fix --aplly
  • comment again
  • git commit

is there any better way of doing this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions