1
0
mirror of https://github.com/flutter/samples.git synced 2026-04-06 11:41:26 +00:00

Add Linting tool starter project (#840)

This commit is contained in:
Abdullah Deshmukh
2021-07-06 09:35:21 +05:30
committed by GitHub
parent 89d2849019
commit 8573269c03
69 changed files with 3196 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
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
file_names: false
package_api_docs: true
package_prefixed_library_names: true
test_types_in_equals: true
throw_in_finally: true
unnecessary_statements: true
use_key_in_widget_constructors: false