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
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 :
switchstatements missing casesThe ones to improve syntax :