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:
Tommy 2023-04-29 11:34:28 -04:00 • committed by GitHub
parent f17cef9523
commit 3af5406f60
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
74 changed files with 1049 additions and 481 deletions

View file

@ -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