1
0
mirror of https://github.com/flutter/samples.git synced 2026-03-22 04:17:50 +00:00

Add flutter_lints to ios_app_clip (#824)

This commit is contained in:
Brett Morgan
2021-06-09 16:34:18 +10:00
committed by GitHub
parent b34cc5671a
commit 4633bb0406
5 changed files with 45 additions and 9 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