mirror of
https://github.com/dart-lang/sdk
synced 2024-10-14 09:01:42 +00:00
Migration: Add an analysis_options.yaml file.
And disable implicit downcasts in the nnbd_migration package. Change-Id: I00c95d709215a12c04e71ee5da1fb9c4af7b5d3c Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/111266 Reviewed-by: Brian Wilkerson <brianwilkerson@google.com> Commit-Queue: Paul Berry <paulberry@google.com>
This commit is contained in:
parent
4932ee6d80
commit
55fb47e1de
9
pkg/nnbd_migration/analysis_options.yaml
Normal file
9
pkg/nnbd_migration/analysis_options.yaml
Normal file
|
@ -0,0 +1,9 @@
|
|||
analyzer:
|
||||
strong-mode:
|
||||
implicit-casts: false
|
||||
linter:
|
||||
rules:
|
||||
- empty_constructor_bodies
|
||||
- empty_statements
|
||||
- unnecessary_brace_in_string_interps
|
||||
- valid_regexps
|
Loading…
Reference in a new issue