2019-07-03 23:51:51 +00:00
|
|
|
include: package:pedantic/analysis_options.1.8.0.yaml
|
2019-06-21 22:13:59 +00:00
|
|
|
|
2015-07-29 00:28:52 +00:00
|
|
|
analyzer:
|
2019-05-22 00:33:39 +00:00
|
|
|
strong-mode:
|
|
|
|
implicit-casts: false
|
2019-05-20 17:39:42 +00:00
|
|
|
errors:
|
|
|
|
todo: ignore
|
2015-07-29 00:28:52 +00:00
|
|
|
exclude:
|
2015-10-13 01:55:52 +00:00
|
|
|
- doc/api/**
|
2016-05-18 20:48:10 +00:00
|
|
|
- gen/**
|
2015-10-13 01:55:52 +00:00
|
|
|
- node_modules/**
|
2015-07-29 00:28:52 +00:00
|
|
|
- test/codegen/**
|
|
|
|
- test/samples/**
|
2016-02-19 23:41:28 +00:00
|
|
|
- test/transformer/hello_app/**
|
2019-05-20 17:31:26 +00:00
|
|
|
|
|
|
|
linter:
|
|
|
|
rules:
|
2020-01-29 22:14:00 +00:00
|
|
|
# Enforced by pedantic v1.9.0.
|
2020-01-29 07:17:22 +00:00
|
|
|
- always_declare_return_types
|
2020-01-31 00:47:26 +00:00
|
|
|
- always_require_non_null_named_parameters
|
2019-05-20 17:31:26 +00:00
|
|
|
- annotate_overrides
|
2020-01-29 22:14:00 +00:00
|
|
|
- avoid_null_checks_in_equality_operators
|
|
|
|
- camel_case_extensions
|
2020-02-03 23:41:17 +00:00
|
|
|
- omit_local_variable_types
|
2020-01-29 22:14:00 +00:00
|
|
|
- prefer_adjacent_string_concatenation
|
|
|
|
- prefer_collection_literals
|
2020-01-08 20:39:50 +00:00
|
|
|
- prefer_conditional_assignment
|
2020-01-31 00:47:26 +00:00
|
|
|
- prefer_final_fields
|
2020-01-29 22:14:00 +00:00
|
|
|
- prefer_for_elements_to_map_fromIterable
|
2020-02-04 23:04:27 +00:00
|
|
|
- prefer_generic_function_type_aliases
|
2020-01-29 22:14:00 +00:00
|
|
|
- prefer_if_null_operators
|
2020-01-08 22:07:21 +00:00
|
|
|
- prefer_single_quotes
|
2020-01-29 22:14:00 +00:00
|
|
|
- prefer_spread_collections
|
2020-02-04 23:04:27 +00:00
|
|
|
- use_function_type_syntax_for_parameters
|
2020-01-29 22:14:00 +00:00
|
|
|
# Not enforced by pedantic at any version.
|
2020-01-23 21:01:54 +00:00
|
|
|
- directives_ordering
|
2020-01-29 22:14:00 +00:00
|
|
|
- prefer_null_aware_operators
|
2020-01-31 00:47:26 +00:00
|
|
|
- prefer_typing_uninitialized_variables
|