mirror of https://github.com/flutter/samples.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
839 B
33 lines
839 B
5 years ago
|
include: package:pedantic/analysis_options.yaml
|
||
|
|
||
|
analyzer:
|
||
|
# strong-mode:
|
||
|
# implicit-casts: false
|
||
|
# implicit-dynamic: false
|
||
|
|
||
|
linter:
|
||
|
rules:
|
||
|
- avoid_types_on_closure_parameters
|
||
|
- avoid_void_async
|
||
|
- await_only_futures
|
||
|
- camel_case_types
|
||
|
- cancel_subscriptions
|
||
|
- close_sinks
|
||
|
# TODO(domesticmouse): rename constants
|
||
|
# - constant_identifier_names
|
||
|
- control_flow_in_finally
|
||
|
- empty_statements
|
||
|
# TODO(domesticmouse): implement hashCode methods
|
||
|
# - hash_and_equals
|
||
|
- implementation_imports
|
||
|
- non_constant_identifier_names
|
||
|
- package_api_docs
|
||
|
- package_names
|
||
|
- package_prefixed_library_names
|
||
|
- test_types_in_equals
|
||
|
- throw_in_finally
|
||
|
- unnecessary_brace_in_string_interps
|
||
|
- unnecessary_getters_setters
|
||
|
- unnecessary_new
|
||
|
- unnecessary_statements
|