Skip to content

Lint rules suggestion. #137

@Chralu

Description

@Chralu

Quality improvement Suggestion

There are a few technical issues which could be prevented by lints.
In the same way, Lints could enlighten syntax improvements.

The rules I have in mind to prevent issues :

  • unawaited futures
  • BuildContexts used across asynchronous gaps
  • switch statements missing cases

The ones to improve syntax :

  • Use named constants instead
  • Fix code references in comments
  • Throw error subclasses only

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions