3b5a187726
Note, this has the effect of including all DDC Dart sources with the shipped SDK: we ship everything under sdk/lib. This should enable https://github.com/dart-lang/build/issues/2262 Change-Id: If66bc7c620034e7f2acf7d2c3e9524a408417681 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/104383 Commit-Queue: Vijay Menon <vsm@google.com> Reviewed-by: Sigmund Cherem <sigmund@google.com>
36 lines
829 B
YAML
36 lines
829 B
YAML
analyzer:
|
|
strong-mode:
|
|
implicit-casts: false
|
|
errors:
|
|
todo: ignore
|
|
exclude:
|
|
- doc/api/**
|
|
- gen/**
|
|
- node_modules/**
|
|
- test/codegen/**
|
|
- test/samples/**
|
|
- test/transformer/hello_app/**
|
|
|
|
linter:
|
|
rules:
|
|
- annotate_overrides
|
|
- avoid_empty_else
|
|
- avoid_init_to_null
|
|
- avoid_return_types_on_setters
|
|
- avoid_shadowing_type_parameters
|
|
- avoid_types_as_parameter_names
|
|
- curly_braces_in_flow_control_structures
|
|
- empty_constructor_bodies
|
|
- library_names
|
|
- null_closures
|
|
- prefer_contains
|
|
- prefer_equal_for_default_values
|
|
- prefer_is_empty
|
|
- prefer_is_not_empty
|
|
- recursive_getters
|
|
- type_init_formals
|
|
- unnecessary_null_in_if_null_operators
|
|
- unrelated_type_equality_checks
|
|
- use_rethrow_when_possible
|
|
- valid_regexps
|