-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Remove old fields from analysis_options.yaml #50680
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
We have already deprecated |
cc @pq do you know what |
Yeah. This is something @stereotype441 added to improve internal builds and testing (more context: https://dart-review.googlesource.com/c/sdk/+/208141). |
Ok cool, we'll keep it! |
Bug: #50680 Change-Id: I96409d02e64d3e198e0fae4a55f58f871ce2aeac Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/275142 Reviewed-by: Konstantin Shcheglov <[email protected]> Reviewed-by: Samuel Rawlins <[email protected]> Reviewed-by: Brian Wilkerson <[email protected]> Commit-Queue: Samuel Rawlins <[email protected]>
This reverts commit f30e5de. Reason for revert: https://dart-review.googlesource.com/c/sdk/+/274921 broke customer test, and this CL sits right on top of it. Original change's description: > Remove preview-dart-2 option in analysis options > > Fixes #50680 > > AnalysisOptionsHintCode is moved from generated `option_codes.g.dart` to `option_codes.dart`, for non-generated diagnostics: > > * AnalysisOptionsHintCode.DEPRECATED_LINT_HINT and > * AnalysisOptionsHintCode.DUPLICATE_RULE_HINT > > Change-Id: I131fb2901fca26ff971b6c9c519ab2f0b983a65c > Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/275500 > Reviewed-by: Brian Wilkerson <[email protected]> > Commit-Queue: Samuel Rawlins <[email protected]> > Reviewed-by: Konstantin Shcheglov <[email protected]> # Not skipping CQ checks because original CL landed > 1 day ago. Change-Id: Ia417aa5edc5b279a5fced43154de4cd5c9d3be2c Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/276023 Reviewed-by: Samuel Rawlins <[email protected]> Reviewed-by: Brian Wilkerson <[email protected]> Reviewed-by: Siva Annamalai <[email protected]> Commit-Queue: Samuel Rawlins <[email protected]>
This reverts commit 6d05f24. Fixes #50680 Change-Id: I6f0d177708d88a4cfd52710684642d03fee8743a Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/276761 Commit-Queue: Samuel Rawlins <[email protected]> Reviewed-by: Brian Wilkerson <[email protected]>
I see support in analyzer's
AnalysisOptions
class, support for:enableSuperMixins
enablePreviewDart2
optional-checks
(maybe just the Chrome OS Manifest checks?)strong-mode
(declaration-casts
,implicit-casts
,implicit-dynamic
), covered by Remove analyzer's deprecated analysis modes: no-implicit-casts and no-implicit-dynamic #50679propagate-linter-exceptions
We could remove at least
enableSuperMixins
,enablePreviewDart2
, andstrong-mode
.Not sure aboutoptional-checks
orpropagate-linter-exceptions
.The text was updated successfully, but these errors were encountered: