Update linting and formatting rules (#261)
* Add new linting rules * Apply new linting rules * Fix dart sdk version * Format code to 80 lines
This commit is contained in:
parent
f17cef9523
commit
3af5406f60
74 changed files with 1049 additions and 481 deletions
|
|
@ -27,6 +27,13 @@ linter:
|
|||
rules:
|
||||
- directives_ordering
|
||||
- prefer_single_quotes
|
||||
- always_use_package_imports
|
||||
- avoid_void_async
|
||||
- prefer_final_locals
|
||||
- prefer_final_in_for_each
|
||||
- avoid_redundant_argument_values
|
||||
- unnecessary_parenthesis
|
||||
- always_declare_return_types
|
||||
|
||||
# Additional information about this file can be found at
|
||||
# https://dart.dev/guides/language/analysis-options
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue