mirror of
https://github.com/wger-project/flutter.git
synced 2026-02-18 00:17:48 +01:00
add dart formatter (for 3.7 and up), cleanup dcm formatter
This commit is contained in:
@@ -19,6 +19,9 @@ analyzer:
|
||||
# Please see https://github.com/flutter/flutter/pull/24528 for details.
|
||||
sdk_version_async_exported_from_core: ignore
|
||||
|
||||
formatter:
|
||||
page_width: 100
|
||||
|
||||
linter:
|
||||
rules:
|
||||
# These rules are documented on and in the same order as
|
||||
@@ -165,8 +168,6 @@ dart_code_metrics:
|
||||
- avoid-passing-self-as-argument: false # fairly harmless. and e.g. drift calls are like this
|
||||
- avoid-passing-async-when-sync-expected: false # we really like to do this in onTap() etc, and it seems harmless
|
||||
- prefer-match-file-name: false # dieter wants to enable this. but requires a lot of renames. what does roland think?
|
||||
|
||||
formatter:
|
||||
indent: 0
|
||||
line-length: 100
|
||||
cascading-widget-extensions: false
|
||||
|
||||
Reference in New Issue
Block a user