344b30e8ce
Since some pedantic issues were individually enabled, this CL turns our analysis_options files into something more like "pedantic lints, except ...". Effectively, this _adds_ the following lint rules: * avoid_empty_else * avoid_relative_lib_imports * avoid_shadowing_type_parameters * avoid_types_as_parameter_names * library_names * library_prefixes * null_closures * prefer_contains * recursive_getters * type_init_formals * unnecessary_null_in_if_null_operators * unrelated_type_equality_checks * use_rethrow_when_possible It also documents (for some rules) how many violations certain rules have. Change-Id: I79a2c101ae4d10215d3f232d9e511bf8e6c7faa4 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/118720 Commit-Queue: Samuel Rawlins <srawlins@google.com> Reviewed-by: Phil Quitslund <pquitslund@google.com> Reviewed-by: Paul Berry <paulberry@google.com> Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>