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>
34 lines
512 B
YAML
34 lines
512 B
YAML
name: analysis_server
|
|
publish_to: none
|
|
|
|
environment:
|
|
sdk: '>=2.2.2 <3.0.0'
|
|
|
|
dependencies:
|
|
analyzer: any
|
|
analyzer_plugin: any
|
|
args: any
|
|
convert: any
|
|
crypto: any
|
|
dart_style: any
|
|
front_end: any
|
|
linter: any
|
|
logging: any
|
|
meta: any
|
|
mustache: any
|
|
nnbd_migration: any
|
|
source_span: any
|
|
package_config: any
|
|
path: any
|
|
tflite_native: any
|
|
watcher: any
|
|
yaml: any
|
|
|
|
dev_dependencies:
|
|
analysis_tool: any
|
|
html: any
|
|
http: any
|
|
pedantic: ^1.8.0
|
|
test_reflective_loader: any
|
|
test: any
|