1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-10 14:58:34 +00:00

Add flutter_lints to experimental/federated_plugin/federated_plugin_macos (#818)

This commit is contained in:
Brett Morgan
2021-06-08 14:53:39 +10:00
committed by GitHub
parent 82c0e717ab
commit 6acb879dfa
3 changed files with 34 additions and 1 deletions

View File

@@ -0,0 +1,19 @@
include: package:flutter_lints/flutter.yaml
analyzer:
strong-mode:
implicit-casts: false
implicit-dynamic: false
linter:
rules:
avoid_types_on_closure_parameters: true
avoid_void_async: true
cancel_subscriptions: true
close_sinks: true
directives_ordering: true
package_api_docs: true
package_prefixed_library_names: true
test_types_in_equals: true
throw_in_finally: true
unnecessary_statements: true