mirror of
https://github.com/flutter/packages.git
synced 2025-06-14 09:14:30 +08:00
Re-sync analysis_options.yaml with flutter/flutter (#5695)
The analysis options have gotten behind; this re-syncs to the current state of flutter/flutter. For options that are non-trivial to enable, either because they are non-trivial to fix, or touch a very large number of files, they are locally disabled with clear "LOCAL CHANGE" markers so that it's obvious where we are out of sync. For options that are simple to resolve, they are enabled in the PR. Part of https://github.com/flutter/flutter/issues/76229
This commit is contained in:
@ -169,8 +169,8 @@ class MakeDepsPathBasedCommand extends PluginCommand {
|
||||
// then re-serialiazing so that it's a localized change, rather than
|
||||
// rewriting the whole file (e.g., destroying comments), which could be
|
||||
// more disruptive for local use.
|
||||
String newPubspecContents = pubspecContents +
|
||||
'''
|
||||
String newPubspecContents = '''
|
||||
$pubspecContents
|
||||
|
||||
$_dependencyOverrideWarningComment
|
||||
dependency_overrides:
|
||||
|
Reference in New Issue
Block a user