mirror of
https://github.com/flutter/samples.git
synced 2026-04-06 03:31:03 +00:00
Add Linting tool starter project (#840)
This commit is contained in:
committed by
GitHub
parent
89d2849019
commit
8573269c03
21
experimental/linting_tool/analysis_options.yaml
Normal file
21
experimental/linting_tool/analysis_options.yaml
Normal 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
|
||||
Reference in New Issue
Block a user